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