<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/kCVPixelBufferOpenGLESTextureCacheCompatibilityKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@kCVPixelBufferOpenGLESTextureCacheCompatibilityKey"
  },
  "title" : "kCVPixelBufferOpenGLESTextureCacheCompatibilityKey"
}
-->

# kCVPixelBufferOpenGLESTextureCacheCompatibilityKey

A key to a Boolean value that indicates whether OpenGL ES performs format conversions of the texture-cache data in a shader.

```
let kCVPixelBufferOpenGLESTextureCacheCompatibilityKey: CFString
```

## Discussion

This key instructs the graphics subsystem to perform YCbCr-to-RGB conversions for the texture-cache data in a GPU shader, instead of performing them natively in OpenGL ES.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)