Skip to content

@modoki/engine / index / getResourceStats

Function: getResourceStats() ​

getResourceStats(): object

Debug: snapshot of resource refcounts. Useful in tests + dev console.

Returns ​

environments ​

environments: Record<string, number>

materials ​

materials: Record<string, number>

meshAssets ​

meshAssets: Record<string, number>

models ​

models: Record<string, number>

prefabs ​

prefabs: Record<string, number>

rigged ​

rigged: Record<string, number>

Built with Modoki.