Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ capture()

k4a::capture::capture ( k4a_capture_t  handle = nullptr)
inlinenoexcept

Creates a capture from a k4a_capture_t Takes ownership of the handle, i.e.

assuming that handle has a refcount of 1, you should not call k4a_capture_release on the handle after giving it to the capture; the capture will take care of that.