init
TypeScriptstatic init(allocationThreshold?: (number) | null): CVMutablePixelBuffer_Pool_AllocationAttributesSwift declarationinit(allocationThreshold: Int? = nil)struct · iOS 26.0+ · SDK 27.1
struct AllocationAttributesControls how new pixel buffers are allocated when ``CVMutablePixelBuffer/Pool/mutablePixelBuffer(with:)`` is called.
static init(allocationThreshold?: (number) | null): CVMutablePixelBuffer_Pool_AllocationAttributesSwift declarationinit(allocationThreshold: Int? = nil)get allocationThreshold(): (number) | nullSwift declarationvar allocationThreshold: Int?A new pixel buffer will not be allocated if the pool already has this many or more pixel buffers allocated. This does not prevent already-allocated buffers from being recycled. If this causes allocation failure, then ``CVMutablePixelBuffer/Pool/mutablePixelBuffer(allocationThreshold:)`` throws ``CVError/wouldExceedAllocationThreshold``.
set allocationThreshold(value: (number) | null)Swift declarationvar allocationThreshold: Int?A new pixel buffer will not be allocated if the pool already has this many or more pixel buffers allocated. This does not prevent already-allocated buffers from being recycled. If this causes allocation failure, then ``CVMutablePixelBuffer/Pool/mutablePixelBuffer(allocationThreshold:)`` throws ``CVError/wouldExceedAllocationThreshold``.
No declarations were skipped in this snapshot.