[][src]Function k4a_sys::k4a_image_get_buffer

pub unsafe extern "C" fn k4a_image_get_buffer(
    image_handle: k4a_image_t
) -> *mut u8

Get the image buffer.

\param image_handle Handle of the image for which the get operation is performed on.

\remarks Use this buffer to access the raw image data.

\returns The function will return NULL if there is an error, and will normally return a pointer to the image buffer. Since all \ref k4a_image_t instances are created with an image buffer, this function should only return NULL if the \p image_handle is invalid.

\relates k4a_image_t

\xmlonly k4a.h (include k4a/k4a.h) k4a.lib k4a.dll \endxmlonly