sRGB
Does this render texture use sRGB read/write conversions? (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool sRGB { get; }
Remarks
When Linear color space is used, render textures can perform Linear to sRGB conversions when rendering into them and sRGB to Linear conversions when sampling them in the shaders.
The value of this property is based on the "readWrite" parameter of the RenderTexture constructor.
Additional Resources: RenderTextureReadWrite for more details.