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

# kCVPixelBufferOpenGLTextureCacheCompatibilityKey

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

```
let kCVPixelBufferOpenGLTextureCacheCompatibilityKey: 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.

---

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)