One Logo Pool Ball
CoreVideo · IOS API REFERENCE

CVMutablePixelBuffer.Pool.Configuration

struct · iOS 26.0+ · SDK 27.1

struct Configuration

Configuration passed to pixel buffer pool on creation.

Members (5)

get · iOS 26.0+

minimumBufferCount

TypeScript
get minimumBufferCount(): number
Swift declaration
var minimumBufferCount: Int

The pool keeps at least this many buffers alive. These buffers do not participate in the age-out mechanism.

set · iOS 26.0+

minimumBufferCount

TypeScript
set minimumBufferCount(value: number)
Swift declaration
var minimumBufferCount: Int

The pool keeps at least this many buffers alive. These buffers do not participate in the age-out mechanism.

init · iOS 26.0+

init

TypeScript
static init(ageOutDuration?: number, minimumBufferCount?: number): CVMutablePixelBuffer_Pool_Configuration
Swift declaration
init(ageOutDuration: TimeInterval = 1, minimumBufferCount: Int = 0)

Create new configuration instance

get · iOS 26.0+

ageOutDuration

TypeScript
get ageOutDuration(): number
Swift declaration
var ageOutDuration: TimeInterval

Backing memory of released buffers is kept around for this duration before being freed (default is 1 second). If set to 0, the backing memory of released buffers is freed immediately.

set · iOS 26.0+

ageOutDuration

TypeScript
set ageOutDuration(value: number)
Swift declaration
var ageOutDuration: TimeInterval

Backing memory of released buffers is kept around for this duration before being freed (default is 1 second). If set to 0, the backing memory of released buffers is freed immediately.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreVideo types →