A key used to specify whether the texture data is stored as sRGB image data.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The value for this key is an
NSNumber object containing a boolean value.
If the value is
false, the image data is treated as linear pixel data. If the value is
true, the image data is treated as sRGB pixel data. If this key is not specified and the image being loaded has been gamma-corrected, the image data uses the specified sRGB information.