Global Variable

kCVPixelBufferPoolAllocationThresholdKey

When set, the value associated with this key indicates that a new pixel buffer should not be allocated if the pool already has this many or more pixel buffers allocated. This doesn’t prevent buffers that have already been allocated from being recycled. If this key causes CVPixelBufferPoolCreatePixelBufferWithAuxAttributes(_:_:_:_:) to fail, it will return kCVReturnWouldExceedAllocationThreshold. (type CFNumber)

Declaration

let kCVPixelBufferPoolAllocationThresholdKey: CFString