API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classPerformanceLayer
@codexo/exojs/debug / debug / stable
Debug layer that renders a compact screen-space HUD (top-left) showing rolling-average FPS, per-frame time in milliseconds, draw-call count, and scene-node count, alongside a 120-sample frame-time sparkline. Enable via DebugOverlay or by pressing F1 while the canvas has focus.
2
props
3
methods
0
events
Import
import { PerformanceLayer } from '@codexo/exojs/debug' Debug layer that renders a compact screen-space HUD (top-left) showing rolling-average FPS, per-frame time in milliseconds, draw-call count, and scene-node count, alongside a 120-sample frame-time sparkline.
Enable via DebugOverlay or by pressing F1 while the canvas has focus.
Constructors 1
new(app: Application): PerformanceLayer Methods 3
destroy(): void render(backend: RenderBackend): void update(delta: Time): void Properties 2
visible: boolean viewMode: DebugLayerViewMode Source