API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classDebugLayer

@codexo/exojs/debug / debug / stable

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.

2
props
3
methods
0
events
Import
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.

Constructors 1
new(_app: Application): DebugLayer
Methods 3
destroy(): void
render(backend: RenderBackend): void
update(delta: Time): void
Properties 2
visible: boolean
viewMode: DebugLayerViewMode
Source