API reference

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

C

classRenderPipeline

@codexo/exojs / rendering / stable

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.

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

Constructors 1
new(options?: RenderPassOptions): RenderPipeline
Methods 11
[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
Properties 3
enabled: boolean
label: string
size: number
Source