|
Monado OpenXR Runtime
|
Holds action state get related functions. More...
#include "oxr_get_state.h"#include "oxr_subaction.h"#include "oxr_input.h"#include "../oxr_objects.h"#include "../oxr_logger.h"
Macros | |
| #define | OXR_ACTION_GET_XR_STATE_FROM_ACTION_STATE_COMMON(ACTION_STATE, DATA) |
| #define | OXR_ACTION_GET_FILLER(TYPE) |
| This populates the internals of action get state functions. | |
| #define | OXR_ACTION_RESET_XR_ACTION_STATE(data) |
| Clear the actual data members of the XrActionState* types, to have the correct return value in case of the action being not active. | |
| #define | COMPUTE_ACTIVE(X) |
Functions | |
| static void | get_xr_state_from_action_state_bool (struct oxr_instance *inst, struct oxr_action_state *state, XrActionStateBoolean *data) |
| static void | get_xr_state_from_action_state_vec1 (struct oxr_instance *inst, struct oxr_action_state *state, XrActionStateFloat *data) |
| static void | get_xr_state_from_action_state_vec2 (struct oxr_instance *inst, struct oxr_action_state *state, XrActionStateVector2f *data) |
| XrResult | oxr_action_get_boolean (struct oxr_logger *log, struct oxr_session *sess, uint32_t act_key, struct oxr_subaction_paths subaction_paths, XrActionStateBoolean *data) |
| XrResult | oxr_action_get_vector1f (struct oxr_logger *log, struct oxr_session *sess, uint32_t act_key, struct oxr_subaction_paths subaction_paths, XrActionStateFloat *data) |
| XrResult | oxr_action_get_vector2f (struct oxr_logger *log, struct oxr_session *sess, uint32_t act_key, struct oxr_subaction_paths subaction_paths, XrActionStateVector2f *data) |
| XrResult | oxr_action_get_pose (struct oxr_logger *log, struct oxr_session *sess, uint32_t act_key, struct oxr_subaction_paths subaction_paths, XrActionStatePose *data) |
Holds action state get related functions.
| #define COMPUTE_ACTIVE | ( | X | ) |
| #define OXR_ACTION_GET_FILLER | ( | TYPE | ) |
This populates the internals of action get state functions.
| #define OXR_ACTION_GET_XR_STATE_FROM_ACTION_STATE_COMMON | ( | ACTION_STATE, | |
| DATA | |||
| ) |
| #define OXR_ACTION_RESET_XR_ACTION_STATE | ( | data | ) |
Clear the actual data members of the XrActionState* types, to have the correct return value in case of the action being not active.