Monado OpenXR Runtime
Loading...
Searching...
No Matches
t_blobwatch Struct Reference
Collaboration diagram for t_blobwatch:

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)
 
static XRT_NONNULL_ALL void t_blobwatch_destroy (struct t_blobwatch **tbw_ptr)
 

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.
 

Field Documentation

◆ destroy

void(* t_blobwatch::destroy) (struct t_blobwatch *tbw)

Destroy this blobwatch.

◆ mark_blob_device

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.

Parameters
[in]tbwThe blobwatch to mark the blobs for.
[in]tboThe 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_idThe device ID to mark

The documentation for this struct was generated from the following file: