---
title: Pixel Buffer Attribute Keys
framework: corevideo
role: collectionGroup
role_heading: API Collection
path: corevideo/pixel-buffer-attribute-keys
---

# Pixel Buffer Attribute Keys

The attributes associated with a pixel buffer.

## Overview

Overview Use the pixel buffer attribute keys to tell Core Video how to allocate pixel buffers for compatibility with client requirements. A pixel buffer attributes dictionary is a Core Foundation dictionary that contains zero or more key-value pairs. You can pass this dictionary to functions such as CVPixelBufferCreate(_:_:_:_:_:_:) and CVPixelBufferPoolCreate(_:_:_:_:). To create an attributes dictionary that’s compatible for multiple clients, pass an array of each client’s attributes dictionary to CVPixelBufferCreateResolvedAttributesDictionary(_:_:_:).

## Topics

### Constants

- [kCVPixelBufferMemoryAllocatorKey](corevideo/kcvpixelbuffermemoryallocatorkey.md)
- [kCVPixelBufferPixelFormatTypeKey](corevideo/kcvpixelbufferpixelformattypekey.md)
- [kCVPixelBufferWidthKey](corevideo/kcvpixelbufferwidthkey.md)
- [kCVPixelBufferHeightKey](corevideo/kcvpixelbufferheightkey.md)
- [kCVPixelBufferExtendedPixelsLeftKey](corevideo/kcvpixelbufferextendedpixelsleftkey.md)
- [kCVPixelBufferExtendedPixelsTopKey](corevideo/kcvpixelbufferextendedpixelstopkey.md)
- [kCVPixelBufferExtendedPixelsRightKey](corevideo/kcvpixelbufferextendedpixelsrightkey.md)
- [kCVPixelBufferExtendedPixelsBottomKey](corevideo/kcvpixelbufferextendedpixelsbottomkey.md)
- [kCVPixelBufferBytesPerRowAlignmentKey](corevideo/kcvpixelbufferbytesperrowalignmentkey.md)
- [kCVPixelBufferCGBitmapContextCompatibilityKey](corevideo/kcvpixelbuffercgbitmapcontextcompatibilitykey.md)
- [kCVPixelBufferCGImageCompatibilityKey](corevideo/kcvpixelbuffercgimagecompatibilitykey.md)
- [kCVPixelBufferOpenGLCompatibilityKey](corevideo/kcvpixelbufferopenglcompatibilitykey.md)
- [kCVPixelBufferPlaneAlignmentKey](corevideo/kcvpixelbufferplanealignmentkey.md)
- [kCVPixelBufferIOSurfacePropertiesKey](corevideo/kcvpixelbufferiosurfacepropertieskey.md)
- [kCVPixelBufferOpenGLESCompatibilityKey](corevideo/kcvpixelbufferopenglescompatibilitykey.md)
- [kCVPixelBufferMetalCompatibilityKey](corevideo/kcvpixelbuffermetalcompatibilitykey.md)
- [kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey](corevideo/kcvpixelbufferiosurfacecoreanimationcompatibilitykey.md)
- [kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey](corevideo/kcvpixelbufferiosurfaceopenglfbocompatibilitykey.md)
- [kCVPixelBufferIOSurfaceOpenGLESFBOCompatibilityKey](corevideo/kcvpixelbufferiosurfaceopenglesfbocompatibilitykey.md)
- [kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey](corevideo/kcvpixelbufferiosurfaceopengltexturecompatibilitykey.md)
- [kCVPixelBufferIOSurfaceOpenGLESTextureCompatibilityKey](corevideo/kcvpixelbufferiosurfaceopenglestexturecompatibilitykey.md)
- [kCVPixelBufferOpenGLTextureCacheCompatibilityKey](corevideo/kcvpixelbufferopengltexturecachecompatibilitykey.md)
- [kCVPixelBufferOpenGLESTextureCacheCompatibilityKey](corevideo/kcvpixelbufferopenglestexturecachecompatibilitykey.md)
- [kCVPixelBufferIOSurfacePurgeableKey](corevideo/kcvpixelbufferiosurfacepurgeablekey.md)
