public void SetConfiguration( k4a_image_format_t colorFormat, k4a_color_resolution_t colorResolution, k4a_depth_mode_t depthMode, k4a_fps_t fps) { this.colorFormat = colorFormat; this.colorResolution = colorResolution; this.depthMode = depthMode; this.fps = fps; }
public extern static k4a_result_t k4a_image_create_from_buffer(k4a_image_format_t format, int width_pixels, int height_pixels, int stride_bytes, out IntPtr buffer, Int64 buffer_size, k4a_memory_destroy_cb_t buffer_release_cb, IntPtr buffer_release_cb_context, out IntPtr image_handle);
public extern static k4a_result_t k4a_image_create(k4a_image_format_t format, int width_pixels, int height_pixels, int stride_bytes, out IntPtr image_handle);