interface.RenderStatistics
API > RenderStatistics
Interface: RenderStatistics
Render frame performance and resource usage statistics.
Properties
bufferBytes
readonly
bufferBytes:number
Estimated # bytes used by WebGL buffers for this frame.
Source
@novorender/core3d/context.ts:1191
cpuTime
readonly
cpuTime:object
Time spent in the main thread.
Type declaration
cpuTime.draw
readonly
draw:number
CPU milliseconds spent rendering.
Source
@novorender/core3d/context.ts:1205
drawCalls
readonly
drawCalls:number
of draw calls in this frame.
Source
@novorender/core3d/context.ts:1201
frameInterval
readonly
frameInterval:number
Effective interval in milliseconds since last frame was drawn.
Source
@novorender/core3d/context.ts:1215
gpuTime
readonly
gpuTime:object
Time spent in the GPU.
Type declaration
gpuTime.draw
readonly
draw:undefined
|number
GPU milliseconds spent rendering, if supported by driver.
Source
@novorender/core3d/context.ts:1210
lines
readonly
lines:number
of lines drawn in this frame.
Source
@novorender/core3d/context.ts:1197
points
readonly
points:number
of points drawn in this frame.
Source
@novorender/core3d/context.ts:1195
primitives
readonly
primitives:number
of primitives (points+lines+triangles) drawn by static geometry for this frame.
Source
@novorender/core3d/context.ts:1203
textureBytes
readonly
textureBytes:number
Estimated # bytes uses by WebGL textures for this frame.
Source
@novorender/core3d/context.ts:1193
triangles
readonly
triangles:number