ImageEffectTransformsToLDR
When using HDR rendering it can sometime be desirable to switch to LDR rendering during ImageEffect rendering.
Read time 4 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
public sealed class ImageEffectTransformsToLDR : Attribute
Remarks
Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To create a full-screen effect in the Universal Render Pipeline (URP), use the Full Screen Pass Renderer Feature.
Using this Attribute on an image effect will cause the destination buffer to be an LDR buffer, and switch the rest of the Image Effect pipeline into LDR mode. It is the responsibility of the Image Effect that this Attribute is associated to ensure that the output is in the LDR range.