Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var sRGB: bool;
bool sRGB;
sRGB as bool

Description

Does this render texture use sRGB read / write (Read Only).

The value of this property is fixed for the life of the RenderTexture but it can be set using the readWrite parameter of the RenderTexture constructor function.

See Also: ColorSpace.