Contents

CVPixelBufferRetain

Retains a pixel buffer.

Declaration

extern CVPixelBufferRef CVPixelBufferRetain(CVPixelBufferRef texture);

Return Value

For convenience, the same pixel buffer you want to retain.

Discussion

This function is equivalent to CFRetain, but is NULL safe.

See Also

Retaining and Releasing Pixel Buffers