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

# kCVPixelBufferIOSurfaceOpenGLESFBOCompatibilityKey

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

```
let kCVPixelBufferIOSurfaceOpenGLESFBOCompatibilityKey: CFString
```

## Discussion

This key indicates whether the texture OpenGL ES creates from the pixel buffer’s underlying IOSurface instance is valid to use as a color buffer attachment to an OpenGL ES 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)