Function VTPixelTransferSessionCreate

Source
pub unsafe extern "C-unwind" fn VTPixelTransferSessionCreate(
    allocator: Option<&CFAllocator>,
    pixel_transfer_session_out: NonNull<*mut VTPixelTransferSession>,
) -> i32
Available on crate feature VTPixelTransferSession only.
Expand description

Creates a session for transferring images between CVPixelBuffers.

The function creates a session for transferring images between CVPixelBuffers.

Parameter allocator: An allocator for the session. Pass NULL to use the default allocator.

Parameter pixelTransferSessionOut: Points to a variable to receive the new pixel transfer session.