跳转到内容

FrameStatsReport

此内容尚不支持你的语言。

Defined in: sdk/src/runtime/frameStats.ts:18

optional audioBytes?: 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).


optional audioStreamedCount?: number

Defined in: sdk/src/runtime/frameStats.ts:39


optional audioStreamedSavedBytes?: number

Defined in: sdk/src/runtime/frameStats.ts:40


optional compositeBatch?: 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: number

entity: number

instanced: number

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: Record<string, number>

Defined in: sdk/src/runtime/frameStats.ts:33


cppScopes: Record<string, number>

Defined in: sdk/src/runtime/frameStats.ts:32


drawCalls: number

Defined in: sdk/src/runtime/frameStats.ts:25


entities: number

Defined in: sdk/src/runtime/frameStats.ts:30


optional frameMs?: number

Defined in: sdk/src/runtime/frameStats.ts:20


optional gpuDraws?: 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: Record<string, number>

Defined in: sdk/src/runtime/frameStats.ts:34


phases: Record<string, number>

Defined in: sdk/src/runtime/frameStats.ts:21


optional probes?: 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: number

perObjectDraws: number

perPixelDraws: number

readsPerLookup: number


optional quality?: QualityReport

Defined in: sdk/src/runtime/frameStats.ts:45


optional seq?: number

Defined in: sdk/src/runtime/frameStats.ts:19


sprites: number

Defined in: sdk/src/runtime/frameStats.ts:29


optional staticBatch?: StaticBatchSummary

Defined in: sdk/src/runtime/frameStats.ts:42

What static batching merged and left out; absent until a mesh has been marked.


optional textureStreaming?: 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: boolean

failures: number

fullMB: number

moves: number

startedSmall: number

streamedMB: number

textures: number


triangles: number

Defined in: sdk/src/runtime/frameStats.ts:28


vramBytes: number

Defined in: sdk/src/runtime/frameStats.ts:36


wasmBytes: number

Defined in: sdk/src/runtime/frameStats.ts:35