Edit

Share via


CVPixelBufferPool.CreatePixelBuffer Method

Definition

Overloads

CreatePixelBuffer()

Creates a new CVPixelBuffer in the pool.

CreatePixelBuffer(CVPixelBufferPoolAllocationSettings, CVReturn)

Creates a new CVPixelBuffer in the pool.

CreatePixelBuffer()

Creates a new CVPixelBuffer in the pool.

public CoreVideo.CVPixelBuffer CreatePixelBuffer ();
member this.CreatePixelBuffer : unit -> CoreVideo.CVPixelBuffer

Returns

The newly allocated CVPixelBuffer.

Applies to

CreatePixelBuffer(CVPixelBufferPoolAllocationSettings, CVReturn)

Creates a new CVPixelBuffer in the pool.

public CoreVideo.CVPixelBuffer CreatePixelBuffer (CoreVideo.CVPixelBufferPoolAllocationSettings allocationSettings, out CoreVideo.CVReturn error);
member this.CreatePixelBuffer : CoreVideo.CVPixelBufferPoolAllocationSettings *  -> CoreVideo.CVPixelBuffer

Parameters

allocationSettings
CVPixelBufferPoolAllocationSettings

Allocation settings for creating this CVPixelBuffer.

error
CVReturn

Return error code

Returns

The newly allocated CVPixelBuffer.

Applies to