API

Class FrameGraphRenderPass

Render pass used to render objects.

Hierarchy (View Summary)

Index
depthReadOnly: boolean = false

If true, the depth attachment will be read-only (may allow some optimizations in WebGPU)

disabled: boolean = false

Whether the pass is disabled. Disabled passes will be skipped during execution.

name: string
stencilReadOnly: boolean = false

If true, the stencil attachment will be read-only (may allow some optimizations in WebGPU)

  • Collects the dependencies of the render pass.

    Parameters

    • dependencies: Set<FrameGraphTextureHandle>

      The set of dependencies to update.

    Returns void

  • Sets the render target(s) to use for rendering.

    Parameters

    • OptionalrenderTargetHandle: any

      The render target to use for rendering, or an array of render targets to use for multi render target rendering.

    Returns void