Interface AnaglyphPostProcessTaskConfig
interface AnaglyphPostProcessTaskConfig {
alphaMode?: PostProcessAlphaMode;
clear?: boolean;
leftTexture: RenderTarget;
name?: string;
sourceSamplingMode?: PostProcessSamplingMode;
sourceTexture: RenderTarget;
targetTexture?: RenderTarget | null;
viewport?: NormalizedViewport | null;
}
alphaMode?: PostProcessAlphaMode;
clear?: boolean;
leftTexture: RenderTarget;
name?: string;
sourceSamplingMode?: PostProcessSamplingMode;
sourceTexture: RenderTarget;
targetTexture?: RenderTarget | null;
viewport?: NormalizedViewport | null;
}
Hierarchy
- Omit<PostProcessTaskConfig, "_shader">
- AnaglyphPostProcessTaskConfig
Configuration for
createAnaglyphPostProcessTask;leftTextureis the left-eye image combined with the source (right eye).