|
Monado OpenXR Runtime
|

Static Public Member Functions | |
| static XRT_NONNULL_ALL void | t_blobwatch_mark_blob_device (struct t_blobwatch *tbw, const struct t_blob_observation *tbo, t_constellation_device_id_t device_id) |
| Helper function for t_blobwatch::mark_blob_device. | |
| static XRT_NONNULL_ALL void | t_blobwatch_destroy (struct t_blobwatch **tbw_ptr) |
| Helper function for t_blobwatch::destroy. | |
Data Fields | |
| void(* | mark_blob_device )(struct t_blobwatch *tbw, const struct t_blob_observation *tbo, t_constellation_device_id_t device_id) |
| Notify the blobwatch that the blobs in the given observation with the correct ID set are associated with the given device. | |
| void(* | destroy )(struct t_blobwatch *tbw) |
| Destroy this blobwatch. | |
|
inlinestatic |
Helper function for t_blobwatch::destroy.
Handles nulls, sets your pointer to null.
References destroy.
|
inlinestatic |
Helper function for t_blobwatch::mark_blob_device.
Notify the blobwatch that the blobs in the given observation with the correct ID set are associated with the given device.
The blobwatch can use this information to track which blobs are associated with which devices across frames, and to provide this information to the tracker across frames to save it from doing that work again.
| [in] | tbw | The blobwatch to mark the blobs for. |
| [in] | tbo | The observation containing the blobs to mark. The blobwatch will look at the blob IDs and the matched_device_id field to determine which blobs internally to mark with the given device ID. |
| [in] | device_id | The device ID to mark |
References mark_blob_device.
| void(* t_blobwatch::destroy) (struct t_blobwatch *tbw) |
Destroy this blobwatch.
Referenced by t_blobwatch_destroy().
| void(* t_blobwatch::mark_blob_device) (struct t_blobwatch *tbw, const struct t_blob_observation *tbo, t_constellation_device_id_t device_id) |
Notify the blobwatch that the blobs in the given observation with the correct ID set are associated with the given device.
The blobwatch can use this information to track which blobs are associated with which devices across frames, and to provide this information to the tracker across frames to save it from doing that work again.
| [in] | tbw | The blobwatch to mark the blobs for. |
| [in] | tbo | The observation containing the blobs to mark. The blobwatch will look at the blob IDs and the matched_device_id field to determine which blobs internally to mark with the given device ID. |
| [in] | device_id | The device ID to mark |
Referenced by t_blobwatch_mark_blob_device().