sRGB
Does this render texture use sRGB read/write conversions? (Read Only).
阅读时间1 分钟最后更新于 1 个月前
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.