@novorender/web_app / Benchmark
Class: Benchmark
A basic GPU benchmark helper class.
Constructors
new Benchmark()
new Benchmark(): Benchmark
Returns
Defined in
@novorender/core3d/benchmark/benchmark.ts:10
Methods
dispose()
dispose(): void
Dispose of created GPU resources.
Returns
void
Defined in
@novorender/core3d/benchmark/benchmark.ts:43
Properties
canvas
readonly canvas: HTMLCanvasElement;
Defined in
@novorender/core3d/benchmark/benchmark.ts:5
gl
readonly gl: WebGL2RenderingContext;
Defined in
@novorender/core3d/benchmark/benchmark.ts:6
numPixels
readonly static numPixels: number;
Defined in
@novorender/core3d/benchmark/benchmark.ts:8
size
readonly static size: 1024 = 1024;