---
title: GLKTextureLoaderSRGB
framework: glkit
role: symbol
role_heading: Global Variable
path: glkit/glktextureloadersrgb
---

# GLKTextureLoaderSRGB

Whether or not to treat texture image data as sRGB data.

## Declaration

```swift
let GLKTextureLoaderSRGB: String
```

## Discussion

Discussion The value for this key is an NSNumber object that specifies a boolean value. If false, the image data is treated as linear pixel data. If true, the image data is treated as sRGB pixel data. The default value is false.

## See Also

### Constants

- [GLKTextureLoaderApplyPremultiplication](glkit/glktextureloaderapplypremultiplication.md)
- [GLKTextureLoaderErrorDomain](glkit/glktextureloadererrordomain.md)
- [GLKTextureLoaderErrorKey](glkit/glktextureloadererrorkey.md)
- [GLKTextureLoaderGLErrorKey](glkit/glktextureloaderglerrorkey.md)
- [GLKTextureLoaderGenerateMipmaps](glkit/glktextureloadergeneratemipmaps.md)
- [GLKTextureLoaderGrayscaleAsAlpha](glkit/glktextureloadergrayscaleasalpha.md)
- [GLKTextureLoaderOriginBottomLeft](glkit/glktextureloaderoriginbottomleft.md)
- [GLK_SSE3_INTRINSICS](glkit/glk_sse3_intrinsics.md)
- [kGLKModelErrorDomain](glkit/kglkmodelerrordomain.md)
- [kGLKModelErrorKey](glkit/kglkmodelerrorkey.md)
