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

# pixelBufferPool

A pixel buffer pool that vends and efficiently recycles the pixel buffers of tagged buffer groups.

## Declaration

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

## Discussion

Discussion For maximum efficiency, create the pixel buffers of tagged buffer groups using this pool with the CVPixelBufferPoolCreatePixelBuffer(_:_:_:) function. The value of this property is nil before you call startWriting() on the associated AVAssetWriter object. Query this property after writing starts to retrieve a non-nil value. This property is not key value observable.

## See Also

### Configuring the buffer pool

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