Function createAnaglyphPostProcessTask
-
createAnaglyphPostProcessTask(
config: AnaglyphPostProcessTaskConfig,
engine: EngineContext,
scene?: SceneContext,
): AnaglyphPostProcessTaskParameters
- config: AnaglyphPostProcessTaskConfig
Source/target settings and the left-eye
leftTexture. - engine: EngineContext
The owning engine.
Optionalscene: SceneContextOptional owning scene. Omit for scene-less standalone frame graphs.
Returns AnaglyphPostProcessTask
The anaglyph post-process task.
- config: AnaglyphPostProcessTaskConfig
Create a post-process task that merges a left-eye texture with the source (right eye) into a red/cyan anaglyph.