Monado OpenXR Runtime
|
This helper struct makes it easier to implement the builder interface, but it also comes with a set of integration that may not be what all builders want. More...
#include <util/u_builders.h>
Data Fields | |
struct xrt_builder | base |
Base for this struct. More... | |
u_builder_open_system_fn | open_system_static_roles |
Argument to u_builder_roles_helper_open_system and implemented by u_builder::open_system_static_roles function. More... | |
This helper struct makes it easier to implement the builder interface, but it also comes with a set of integration that may not be what all builders want.
See the below functions for more information.
struct xrt_builder u_builder::base |
Base for this struct.
Referenced by rift_s_builder_create(), t_builder_legacy_create(), t_builder_lighthouse_create(), t_builder_north_star_create(), t_builder_qwerty_create(), t_builder_rgb_tracking_create(), t_builder_simula_create(), t_builder_simulated_create(), t_builder_wmr_create(), and xreal_air_builder_create().
u_builder_open_system_fn u_builder::open_system_static_roles |
Argument to u_builder_roles_helper_open_system and implemented by u_builder::open_system_static_roles function.
A builder implement this function is free to focus on only creating the devices and assigning them initial roles. With this implementation details of the xrt_system_devices and xrt_space_overseer is taken care of by the caller of this function.
Referenced by u_builder_open_system_static_roles().