ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


sRGB

Does this render texture use sRGB read/write conversions? (Read Only).
読み終わるまでの所要時間 1 分最終更新 21日前

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.