API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classDebugLayer
Abstract base for a single diagnostic overlay layer. Subclasses produce a visual (outlines, text panels, sparklines, etc.) that DebugOverlay composites each frame when visible is `true`. Concrete layers are tree-shakeable via the `@codexo/exojs/debug` subpath and are not loaded unless explicitly imported.
import { DebugLayer } from '@codexo/exojs/debug' Abstract base for a single diagnostic overlay layer. Subclasses produce a visual (outlines, text panels, sparklines, etc.) that DebugOverlay composites each frame when visible is `true`.
Concrete layers are tree-shakeable via the `@codexo/exojs/debug` subpath and are not loaded unless explicitly imported.
new(_app: Application): DebugLayer destroy(): void render(backend: RenderBackend): void update(delta: Time): void visible: boolean viewMode: DebugLayerViewMode