Skip to content
pixi-silk
GitHub repository
Interface

BlockSurfaceStats

import type { BlockSurfaceStats } from 'pixi-silk/ui/blocks';

What a BlockSurface has done: for a debug overlay.

Properties#

PropertyTypeDescriptionDefined in
awakebooleanTrue while the repaint loop runs.packages/pixi-silk/src/ui/blocks.ts:296
liveBlocksnumberBlocks in the live layer.packages/pixi-silk/src/ui/blocks.ts:294
repaintsnumberFrames that repainted a layer, since it was created.packages/pixi-silk/src/ui/blocks.ts:290
stillPaintsnumberRepaints of the still layer. Each one runs the distance field of every still block once.packages/pixi-silk/src/ui/blocks.ts:292