---
title: CVPixelBufferRepresentable
framework: corevideo
role: symbol
role_heading: Protocol
path: corevideo/cvpixelbufferrepresentable
---

# CVPixelBufferRepresentable

CVPixelBufferRepresentable protocol is a sealed protocol intended to be implemented by the types in CoreVideo framework. This protocol facilitates Swift types that wrap a value of CVPixelBuffer type.

## Declaration

```swift
protocol CVPixelBufferRepresentable : CVImageBufferRepresentable, ~Copyable
```

## Topics

### Instance Properties

- [attachments](corevideo/cvpixelbufferrepresentable/attachments-swift.property.md)
- [creationAttributes](corevideo/cvpixelbufferrepresentable/creationattributes.md)
- [extendedPixels](corevideo/cvpixelbufferrepresentable/extendedpixels.md)
- [isPlanar](corevideo/cvpixelbufferrepresentable/isplanar.md)
- [pixelFormatType](corevideo/cvpixelbufferrepresentable/pixelformattype.md)
- [planeCount](corevideo/cvpixelbufferrepresentable/planecount.md)
- [planeProperties](corevideo/cvpixelbufferrepresentable/planeproperties.md)
- [size](corevideo/cvpixelbufferrepresentable/size.md)

### Instance Methods

- [accessUnsafeRawPlaneBytes(_:)](corevideo/cvpixelbufferrepresentable/accessunsaferawplanebytes(_:).md)
- [isCompatibleWith(_:)](corevideo/cvpixelbufferrepresentable/iscompatiblewith(_:)-9fsoy.md)
- [isCompatibleWith(_:)](corevideo/cvpixelbufferrepresentable/iscompatiblewith(_:)-b775.md)
- [withUnsafeBackingIOSurfaceIfPresent(_:)](corevideo/cvpixelbufferrepresentable/withunsafebackingiosurfaceifpresent(_:).md)

### Type Aliases

- [CVPixelBufferRepresentable.Attachments](corevideo/cvpixelbufferrepresentable/attachments-swift.typealias.md)

## Relationships

### Inherits From

- [CVBufferRepresentable](corevideo/cvbufferrepresentable.md)
- [CVImageBufferRepresentable](corevideo/cvimagebufferrepresentable.md)

### Conforming Types

- [CVMutablePixelBuffer](corevideo/cvmutablepixelbuffer.md)
- [CVReadOnlyPixelBuffer](corevideo/cvreadonlypixelbuffer.md)

## See Also

### Protocols

- [CVPixelBufferAttachmentKeyDefinitions](corevideo/cvpixelbufferattachmentkeydefinitions.md)
