API reference

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

C

classRenderNodePass

@codexo/exojs / rendering / stable

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.

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

Constructors 1
new(node: RenderNode, options?: RenderNodePassOptions): RenderNodePass
Methods 3
destroy(): void
execute(context: RenderingContext): void
resize(_width: number, _height: number): void
Properties 2
enabled: boolean
label: string
Source