---
title: CVPixelBufferCreationAttributes
framework: corevideo
role: symbol
role_heading: Structure
path: corevideo/cvpixelbuffercreationattributes
---

# CVPixelBufferCreationAttributes

Attributes needed for creating a pixel buffer.

## Declaration

```swift
struct CVPixelBufferCreationAttributes
```

## Topics

### Initializers

- [init(_:)](corevideo/cvpixelbuffercreationattributes/init(_:).md)
- [init(pixelFormatType:size:compatibility:bytesPerRowAlignment:planeAlignment:extendedPixels:)](corevideo/cvpixelbuffercreationattributes/init(pixelformattype:size:compatibility:bytesperrowalignment:planealignment:extendedpixels:).md)
- [init(pixelFormatType:size:compatibility:bytesPerRowAlignment:planeAlignment:extendedPixels:attachments:)](corevideo/cvpixelbuffercreationattributes/init(pixelformattype:size:compatibility:bytesperrowalignment:planealignment:extendedpixels:attachments:).md)

### Instance Properties

- [attachments](corevideo/cvpixelbuffercreationattributes/attachments.md)
- [backing](corevideo/cvpixelbuffercreationattributes/backing-swift.property.md)
- [bytesPerRowAlignment](corevideo/cvpixelbuffercreationattributes/bytesperrowalignment.md)
- [compatibility](corevideo/cvpixelbuffercreationattributes/compatibility.md)
- [extendedPixels](corevideo/cvpixelbuffercreationattributes/extendedpixels.md)
- [pixelFormatType](corevideo/cvpixelbuffercreationattributes/pixelformattype.md)
- [planeAlignment](corevideo/cvpixelbuffercreationattributes/planealignment.md)
- [size](corevideo/cvpixelbuffercreationattributes/size.md)

### Enumerations

- [CVPixelBufferCreationAttributes.Backing](corevideo/cvpixelbuffercreationattributes/backing-swift.enum.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Swift overlay types

- [CVReadOnlyPixelBuffer](corevideo/cvreadonlypixelbuffer.md)
- [CVMutablePixelBuffer](corevideo/cvmutablepixelbuffer.md)
- [CVPixelBufferAttributes](corevideo/cvpixelbufferattributes.md)
- [CVPixelBufferPadding](corevideo/cvpixelbufferpadding.md)
- [CVPixelBufferPlaneProperties](corevideo/cvpixelbufferplaneproperties.md)
- [CVProResRawMetadata](corevideo/cvproresrawmetadata.md)
