API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRenderPipeline
An ordered list of RenderPass steps, played once per frame against a RenderingContext. A `RenderPipeline` is **itself a `RenderPass`**, so pipelines nest freely and a disabled pipeline skips its whole subtree. It **owns** the passes added to it (exclusive ownership — a pass belongs to at most one pipeline): resize and destroy cascade to them. It never owns scene nodes or caller RenderTextures. Adding a pass that would create a direct or indirect cycle throws at add time.
import { RenderPipeline } from '@codexo/exojs' An ordered list of RenderPass steps, played once per frame against a RenderingContext.
A `RenderPipeline` is **itself a `RenderPass`**, so pipelines nest freely and a disabled pipeline skips its whole subtree. It **owns** the passes added to it (exclusive ownership — a pass belongs to at most one pipeline): resize and destroy cascade to them. It never owns scene nodes or caller RenderTextures. Adding a pass that would create a direct or indirect cycle throws at add time.
new(options?: RenderPassOptions): RenderPipeline [iterator](): IterableIterator<RenderPass> addPass(pass: RenderPass): this at(index: number): RenderPass | undefined clear(): this destroy(): void execute(context: RenderingContext): void hasPass(pass: RenderPass): boolean indexOf(pass: RenderPass): number insertPass(pass: RenderPass, index: number): this removePass(pass: RenderPass): boolean resize(width: number, height: number): void enabled: boolean label: string size: number