Interface IFrameGraphPass
interface IFrameGraphPass {
disabled: boolean;
name: string;
setExecuteFunc(func: (context: FrameGraphContext) => void): void;
setInitializeFunc(func: (context: FrameGraphContext) => void): void;
}
disabled: boolean;
name: string;
setExecuteFunc(func: (context: FrameGraphContext) => void): void;
setInitializeFunc(func: (context: FrameGraphContext) => void): void;
}
Properties
disabled
disabled: boolean
Whether the pass is disabled.
name
name: string
The name of the pass.
Methods
set Execute Func
-
Sets the function to execute when the pass is executed
Parameters
- func: (context: FrameGraphContext) => void
The function to execute when the pass is executed
Returns void
- func: (context: FrameGraphContext) => void
set Initialize Func
-
Initializes the pass. This function is called once before the first execution of the pass.
Parameters
- func: (context: FrameGraphContext) => void
The function to initialize the pass.
Returns void
- func: (context: FrameGraphContext) => void
Defines a pass in the frame graph.