[][src]Function k4a_sys_temp::k4a_image_get_size

pub unsafe extern "C" fn k4a_image_get_size(image_handle: k4a_image_t) -> usize

Get the image buffer size.

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

\remarks Use this function to know what the size of the image buffer is returned by k4a_image_get_buffer().

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

\relates k4a_image_t

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