---
title: pixelBufferPool
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetwriterinputpixelbufferadaptor/pixelbufferpool
---

# pixelBufferPool

A pool of pixel buffers to append to the adaptor’s input.

## Declaration

```swift
var pixelBufferPool: CVPixelBufferPool? { get }
```

## Discussion

Discussion For maximum efficiency, you should create CVPixelBuffer objects for append(_:withPresentationTime:) by using this pool with the CVPixelBufferPoolCreatePixelBuffer(_:_:_:) function. This value is nil prior to calling startSession(atSourceTime:)on the associated AVAssetWriter object. This property is key-value observable.

## See Also

### Accessing the pool

- [sourcePixelBufferAttributes](avfoundation/avassetwriterinputpixelbufferadaptor/sourcepixelbufferattributes.md)
