Function createEffectRenderTask
-
createEffectRenderTask(
config: EffectRenderTaskConfig,
engine: EngineContext,
scene?: SceneContext,
): EffectRenderTaskParameters
- config: EffectRenderTaskConfig
The effect, target, and clear settings.
- engine: EngineContext
The owning engine.
Optionalscene: SceneContextOptional owning scene. Omit for scene-less standalone frame graphs.
Returns EffectRenderTask
The render task to add to a frame graph.
- config: EffectRenderTaskConfig
Create a frame-graph task that draws an effect as a fullscreen pass into
config.target.