Skip to main content

@novorender/web_app / RenderStatistics

Interface: RenderStatistics

Render frame performance and resource usage statistics.

Properties

bufferBytes

readonly bufferBytes: number;

Estimated # bytes used by WebGL buffers for this frame.

Defined in

@novorender/core3d/context.ts:1314


cpuTime

readonly cpuTime: object;

Time spent in the main thread.

draw

readonly draw: number;

CPU milliseconds spent rendering.

Defined in

@novorender/core3d/context.ts:1328


drawCalls

readonly drawCalls: number;

of draw calls in this frame.

Defined in

@novorender/core3d/context.ts:1324


frameInterval

readonly frameInterval: number;

Effective interval in milliseconds since last frame was drawn.

Defined in

@novorender/core3d/context.ts:1338


gpuTime

readonly gpuTime: object;

Time spent in the GPU.

draw

readonly draw: undefined | number;

GPU milliseconds spent rendering, if supported by driver.

Defined in

@novorender/core3d/context.ts:1333


lines

readonly lines: number;

of lines drawn in this frame.

Defined in

@novorender/core3d/context.ts:1320


points

readonly points: number;

of points drawn in this frame.

Defined in

@novorender/core3d/context.ts:1318


primitives

readonly primitives: number;

of primitives (points+lines+triangles) drawn by static geometry for this frame.

Defined in

@novorender/core3d/context.ts:1326


textureBytes

readonly textureBytes: number;

Estimated # bytes uses by WebGL textures for this frame.

Defined in

@novorender/core3d/context.ts:1316


triangles

readonly triangles: number;

of triangles drawn in this frame.

Defined in

@novorender/core3d/context.ts:1322