API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRenderNodePass
Renders a scene subtree (a RenderNode) as one pass — into the active target, or off-screen when `options.target` is set. The most common pass: world, HUD overlay, an off-screen scene capture. `view`/`target`/`clear` are fixed at construction; only `enabled`/`label` are mutable. The off-screen redirect is built once and reused every frame (no per-frame allocation). The node and any caller `target` are NOT owned by this pass — `destroy()` never frees them.
import { RenderNodePass } from '@codexo/exojs' Renders a scene subtree (a RenderNode) as one pass — into the active target, or off-screen when `options.target` is set. The most common pass: world, HUD overlay, an off-screen scene capture.
`view`/`target`/`clear` are fixed at construction; only `enabled`/`label` are mutable. The off-screen redirect is built once and reused every frame (no per-frame allocation). The node and any caller `target` are NOT owned by this pass — `destroy()` never frees them.
new(node: RenderNode, options?: RenderNodePassOptions): RenderNodePass destroy(): void execute(context: RenderingContext): void resize(_width: number, _height: number): void enabled: boolean label: string