ResourceStats
此内容尚不支持你的语言。
Defined in: wasm/resourceManager.ts:87
GPU resource counts + texture residency figures. See getResourceStats.
Properties
Section titled “Properties”cacheHits
Section titled “cacheHits”cacheHits:
number
Defined in: wasm/resourceManager.ts:92
cacheMisses
Section titled “cacheMisses”cacheMisses:
number
Defined in: wasm/resourceManager.ts:93
indexBufferCount
Section titled “indexBufferCount”indexBufferCount:
number
Defined in: wasm/resourceManager.ts:91
retainedBytes
Section titled “retainedBytes”retainedBytes:
number
Defined in: wasm/resourceManager.ts:101
CPU copies the graphics device keeps so content survives a device loss.
shaderCount
Section titled “shaderCount”shaderCount:
number
Defined in: wasm/resourceManager.ts:88
textureBudget
Section titled “textureBudget”textureBudget:
number
Defined in: wasm/resourceManager.ts:97
The texture pool’s resident-byte budget (0 = eviction off).
textureBytes
Section titled “textureBytes”textureBytes:
number
Defined in: wasm/resourceManager.ts:95
Resident texture bytes (RGBA8 estimate) — held + evictable entries.
textureCount
Section titled “textureCount”textureCount:
number
Defined in: wasm/resourceManager.ts:89
textureEvictableCount
Section titled “textureEvictableCount”textureEvictableCount:
number
Defined in: wasm/resourceManager.ts:99
Cached refCount==0 textures awaiting revive or eviction.
vertexBufferCount
Section titled “vertexBufferCount”vertexBufferCount:
number
Defined in: wasm/resourceManager.ts:90