FrameStatsReport
Defined in: sdk/src/runtime/frameStats.ts:18
Properties
Section titled “Properties”audioBytes?
Section titled “audioBytes?”
optionalaudioBytes?:number
Defined in: sdk/src/runtime/frameStats.ts:38
Decoded audio resident (bytes), and how many clips play from their compressed file instead and the PCM that saved (estimate).
audioStreamedCount?
Section titled “audioStreamedCount?”
optionalaudioStreamedCount?:number
Defined in: sdk/src/runtime/frameStats.ts:39
audioStreamedSavedBytes?
Section titled “audioStreamedSavedBytes?”
optionalaudioStreamedSavedBytes?:number
Defined in: sdk/src/runtime/frameStats.ts:40
compositeBatch?
Section titled “compositeBatch?”
optionalcompositeBatch?:object[]
Defined in: sdk/src/runtime/frameStats.ts:44
Per CompositeBatch root, what it draws now; absent while no root is in the scene.
draws:
number
drawsBefore
Section titled “drawsBefore”drawsBefore:
number
entity
Section titled “entity”entity:
number
instanced
Section titled “instanced”instanced:
number
moving
Section titled “moving”moving:
number
parts:
number
costs:
FrameCosts|null
Defined in: sdk/src/runtime/frameStats.ts:24
Per-system and per-scope cost with the domain/system attribution the profile tree is folded from. Null while the app has stats off.
cppCounters
Section titled “cppCounters”cppCounters:
Record<string,number>
Defined in: sdk/src/runtime/frameStats.ts:33
cppScopes
Section titled “cppScopes”cppScopes:
Record<string,number>
Defined in: sdk/src/runtime/frameStats.ts:32
drawCalls
Section titled “drawCalls”drawCalls:
number
Defined in: sdk/src/runtime/frameStats.ts:25
entities
Section titled “entities”entities:
number
Defined in: sdk/src/runtime/frameStats.ts:30
frameMs?
Section titled “frameMs?”
optionalframeMs?:number
Defined in: sdk/src/runtime/frameStats.ts:20
gpuDraws?
Section titled “gpuDraws?”
optionalgpuDraws?:number
Defined in: sdk/src/runtime/frameStats.ts:27
Every draw the GPU was asked for, every pass included; what quality.drawCallBudget is held to.
gpuMs:
number
Defined in: sdk/src/runtime/frameStats.ts:31
gpuScopes
Section titled “gpuScopes”gpuScopes:
Record<string,number>
Defined in: sdk/src/runtime/frameStats.ts:34
phases
Section titled “phases”phases:
Record<string,number>
Defined in: sdk/src/runtime/frameStats.ts:21
probes?
Section titled “probes?”
optionalprobes?:object
Defined in: sdk/src/runtime/frameStats.ts:50
What the probe volumes cost: draws that read one per pixel and per object last frame, what the brick atlas takes on the GPU (0 when nothing reads per pixel), and the texture reads one per-pixel lookup makes. Absent on an engine that cannot say.
atlasBytes
Section titled “atlasBytes”atlasBytes:
number
perObjectDraws
Section titled “perObjectDraws”perObjectDraws:
number
perPixelDraws
Section titled “perPixelDraws”perPixelDraws:
number
readsPerLookup
Section titled “readsPerLookup”readsPerLookup:
number
quality?
Section titled “quality?”
optionalquality?:QualityReport
Defined in: sdk/src/runtime/frameStats.ts:45
optionalseq?:number
Defined in: sdk/src/runtime/frameStats.ts:19
sprites
Section titled “sprites”sprites:
number
Defined in: sdk/src/runtime/frameStats.ts:29
staticBatch?
Section titled “staticBatch?”
optionalstaticBatch?:StaticBatchSummary
Defined in: sdk/src/runtime/frameStats.ts:42
What static batching merged and left out; absent until a mesh has been marked.
textureStreaming?
Section titled “textureStreaming?”
optionaltextureStreaming?:object
Defined in: sdk/src/runtime/frameStats.ts:52
What texture streaming holds: how many textures, the megabytes they take and would at full size, and how many moves it has made.
enabled
Section titled “enabled”enabled:
boolean
failures
Section titled “failures”failures:
number
fullMB
Section titled “fullMB”fullMB:
number
moves:
number
startedSmall
Section titled “startedSmall”startedSmall:
number
streamedMB
Section titled “streamedMB”streamedMB:
number
textures
Section titled “textures”textures:
number
triangles
Section titled “triangles”triangles:
number
Defined in: sdk/src/runtime/frameStats.ts:28
vramBytes
Section titled “vramBytes”vramBytes:
number
Defined in: sdk/src/runtime/frameStats.ts:36
wasmBytes
Section titled “wasmBytes”wasmBytes:
number
Defined in: sdk/src/runtime/frameStats.ts:35