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

# kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey

A key to a Boolean value that indicates whether OpenGL can create a valid texture for use as a color buffer attachment.

```
let kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey: CFString
```

## Discussion

This key indicates whether the texture OpenGL creates from the pixel buffer’s underlying IOSurface instance is valid to use as a color buffer attachment to an OpenGL frame buffer object.

---

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)