API

Class FrameGraphPass<T>

Base class for a frame graph pass.

Type Parameters

Hierarchy (View Summary)

Implements

Index
disabled: boolean = false

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

name: string
  • Sets the function to execute when the pass is executed

    Parameters

    • func: (context: T) => void

      The function to execute when the pass is executed

    Returns void

  • Initializes the pass. This function is called once after the frame graph has been built

    Parameters

    • func: (context: T) => void

      The function to initialize the pass.

    Returns void