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

◆ k4a_memory_destroy_cb_t

typedef void() k4a_memory_destroy_cb_t(void *buffer, void *context)

Callback function for a memory object being destroyed.

Parameters
bufferThe buffer pointer that was supplied by the caller as buffer_release_cb to k4a_image_create_from_buffer().
contextThe context for the memory object that needs to be destroyed that was supplied by the caller as buffer_release_cb_context to k4a_image_create_from_buffer().
Remarks
When all references for the memory object are released, this callback will be invoked as the final destroy for the given memory.