[][src]Function k4a_sys::k4a_capture_create

pub unsafe extern "C" fn k4a_capture_create(
    capture_handle: *mut k4a_capture_t
) -> k4a_result_t

Create an empty capture object.

\param capture_handle Pointer to a location to store the handle.

\relates k4a_capture_t

\remarks Call this function to create a \ref k4a_capture_t handle for a new capture. Release it with k4a_capture_release().

The new capture is created with a reference count of 1.

\returns Returns #K4A_RESULT_SUCCEEDED on success. Errors are indicated with #K4A_RESULT_FAILED and error specific data can be found in the log.

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