Contents

pixelBufferPool

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

Declaration

var pixelBufferPool: CVPixelBufferPool? { get }

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