API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRenderPassInspectorLayer
Debug layer that lists every RenderNode with an active filter chain each frame. Renders a compact text panel with per-drawable rows showing the filter sequence, bounding-box dimensions, and mask/cache status. Use during development to answer: - "Is my filter actually attached?" → it appears in the list - "Why does my frame have N render passes?" → see total pass count - "Is this drawable being re-rendered or cached?" → `[cached]` flag For deep per-pass inspection (intermediate render-target contents, GLSL/WGSL source, uniform values), use Spector.js or Chrome DevTools' WebGPU panel — the engine emits debug-group labels around filter and mesh-custom-shader passes so those tools show meaningful pass names.
import { RenderPassInspectorLayer } from '@codexo/exojs/debug' Debug layer that lists every RenderNode with an active filter chain each frame. Renders a compact text panel with per-drawable rows showing the filter sequence, bounding-box dimensions, and mask/cache status.
Use during development to answer:
- "Is my filter actually attached?" → it appears in the list - "Why does my frame have N render passes?" → see total pass count - "Is this drawable being re-rendered or cached?" → `[cached]` flag
For deep per-pass inspection (intermediate render-target contents, GLSL/WGSL source, uniform values), use Spector.js or Chrome DevTools' WebGPU panel — the engine emits debug-group labels around filter and mesh-custom-shader passes so those tools show meaningful pass names.
new(app: Application): RenderPassInspectorLayer destroy(): void pipelineRows(): RenderPipelineRow[] render(backend: RenderBackend): void setPipeline(pipeline: RenderPipeline | null): this update(_delta: Time): void describePipeline(pipeline: RenderPipeline): RenderPipelineRow[] visible: boolean entries: readonly RenderPassInspectorEntry[] pipeline: RenderPipeline | null totalPasses: number viewMode: DebugLayerViewMode