Function createBlackAndWhitePostProcessTask
-
createBlackAndWhitePostProcessTask(
config: BlackAndWhitePostProcessTaskConfig,
engine: EngineContext,
scene?: SceneContext,
): BlackAndWhitePostProcessTaskParameters
- config: BlackAndWhitePostProcessTaskConfig
Source/target settings and desaturation
degree. - engine: EngineContext
The owning engine.
Optionalscene: SceneContextOptional owning scene. Omit for scene-less standalone frame graphs.
Returns BlackAndWhitePostProcessTask
The black-and-white post-process task.
- config: BlackAndWhitePostProcessTaskConfig
Create a post-process task that blends the image toward grayscale.