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

# kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey

A key to a Boolean value that indicates whether OpenGL can create a valid texture object from the IOSurface-backed pixel buffer.

```
let kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey: CFString
```

---

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)