RenderStats
Defined in: packages/three-flatland/src/pipeline/types.ts:57
Sprite-domain render statistics.
Tracks counts the sprite pipeline owns: sprite instance count,
batch count, visible-after-culling count. Does NOT include
renderer-level stats (draw calls, triangles, GPU time) — those live
in the devtools producer (@three-flatland/debug subpath), which is
fully tree-shaken in prod builds and therefore doesn’t pollute the
prod bundle with stats math. If you want renderer stats, subscribe
to the debug bus’s stats feature.
Properties
Section titled “Properties”batchCount
Section titled “batchCount”batchCount:
number
Defined in: packages/three-flatland/src/pipeline/types.ts:61
Number of batches created
spriteCount
Section titled “spriteCount”spriteCount:
number
Defined in: packages/three-flatland/src/pipeline/types.ts:59
Total sprites in the renderer
visibleSprites
Section titled “visibleSprites”visibleSprites:
number
Defined in: packages/three-flatland/src/pipeline/types.ts:63
Number of visible sprites rendered