Function setSceneImageProcessing
-
Parameters
- scene: SceneContext
The registered scene to update.
- update: ImageProcessingUpdate
Partial image-processing configuration to merge into the scene.
Returns Promise<void>
- scene: SceneContext
The registered scene to update.
Partial image-processing configuration to merge into the scene.
Update a scene's image-processing configuration after registration, rebuilding the pipelines that bake image-processing state into their shaders only when necessary.
Cost tiers:
exposure/contrastare read live from the scene UBO every frame — changing them takes effect on the next frame with no rebuild.toneMappingEnabledandtoneMappingare compile-time PBR shader features. Changing either recompiles the affected PBR pipelines (via rebuildScenePbrPipelines).The rebuild is skipped when the scene has not been built yet (its first build will pick up the new configuration) or when only live UBO fields changed.