Function

CVPixelBufferPoolGetPixelBufferAttributes(_:)

Returns the attributes of pixel buffers that will be created from this pool.

Declaration

func CVPixelBufferPoolGetPixelBufferAttributes(_ pool: CVPixelBufferPool) -> CFDictionary?

Parameters

pool

The pixel buffer pool whose attributes are to be retrieved.

Return Value

A Core Foundation dictionary containing the pixel buffer attributes, or NULL on failure.

Discussion

Use this function to obtain information about the buffers that will be created for you .

See Also

Inspecting Pools

func CVPixelBufferPoolGetAttributes(CVPixelBufferPool) -> CFDictionary?

Returns the pool attributes dictionary for a pixel buffer pool.

func CVPixelBufferPoolGetTypeID() -> CFTypeID

Returns the Core Foundation type identifier of the pixel buffer pool type.