|
Monado OpenXR Runtime
|
Reference-counted base for OpenXR state tracker objects. More...
#include "xrt/xrt_defines.h"
Go to the source code of this file.
Data Structures | |
| struct | oxr_refcounted |
Functions | |
| static void | oxr_refcounted_ref (struct oxr_refcounted *orc) |
Increase the reference count of orc. | |
| static void | oxr_refcounted_unref (struct oxr_refcounted *orc) |
Decrease the reference count of orc, destroying it if it reaches 0. | |
Reference-counted base for OpenXR state tracker objects.
|
inlinestatic |
Increase the reference count of orc.
Referenced by oxr_action_attachment::oxr_action_attachment_init().
|
inlinestatic |
Decrease the reference count of orc, destroying it if it reaches 0.
References oxr_refcounted::destroy.
Referenced by oxr_action_attachment::oxr_action_attachment_teardown(), and oxr_action_set_attachment::oxr_action_set_attachment_teardown().