---
title: kCVReturnPixelBufferNotOpenGLCompatible
framework: corevideo
role: symbol
role_heading: Global Variable
path: corevideo/kcvreturnpixelbuffernotopenglcompatible
---

# kCVReturnPixelBufferNotOpenGLCompatible

The pixel buffer is not compatible with OpenGL due to an unsupported buffer size, pixel format, or attribute.

## Declaration

```swift
var kCVReturnPixelBufferNotOpenGLCompatible: CVReturn { get }
```

## See Also

### Pixel Buffer

- [kCVReturnInvalidPixelBufferAttributes](corevideo/kcvreturninvalidpixelbufferattributes.md)
- [kCVReturnInvalidPixelFormat](corevideo/kcvreturninvalidpixelformat.md)
- [kCVReturnInvalidSize](corevideo/kcvreturninvalidsize.md)
- [kCVReturnPixelBufferNotMetalCompatible](corevideo/kcvreturnpixelbuffernotmetalcompatible.md)
