Contents

CVPixelBufferRetain

Retains a pixel buffer.

Declaration

extern CVPixelBufferRef CVPixelBufferRetain(CVPixelBufferRef texture);

Parameters

  • texture:

    The pixel buffer that you want to retain.

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