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

Data Fields

struct xrt_app_system base
 
struct xrt_app_instance * xainst
 The parent xrt_app_instance.
 
struct xrt_system * xsys
 The xrt_system this is wrapping.
 
struct os_mutex view_config_mutex
 
struct xrt_recommended_view_config view_configs [XRT_VIEW_TYPE_MAX]
 
- Data Fields inherited from xrt_app_system
xrt_result_t(* get_recommended_view_configuration )(struct xrt_app_system *xasys, enum xrt_view_type view_type, struct xrt_recommended_view_config *out_recommended_view_config)
 Gets the recommended view configuration for the given view type, if available and supported.
 
xrt_result_t(* set_recommended_view_configuration )(struct xrt_app_system *xasys, enum xrt_view_type view_type, const struct xrt_recommended_view_config *recommended_view_config)
 Sets the recommended view configuration for the given view type.
 
void(* destroy )(struct xrt_app_system *xasys)
 Destroy the application system and its owned objects.
 

Protected Member Functions

bool b_app_system_init (struct xrt_app_instance *xainst, struct b_app_system *basys, struct xrt_system *xsys, void(*destroy_fn)(struct xrt_app_system *))
 Inits a b_app_system struct when used as a parent class, only to be used by the derived class.
 
void b_app_system_fini (struct b_app_system *basys)
 Finalizes a b_app_system struct when used as a parent class, only to be used by the derived class.
 

Additional Inherited Members

- Static Public Member Functions inherited from xrt_app_system
static XRT_NONNULL_ALL xrt_result_t xrt_app_system_get_recommended_view_configuration (struct xrt_app_system *xasys, enum xrt_view_type view_type, struct xrt_recommended_view_config *out_recommended_view_config)
 Gets the recommended view configuration for the given view type, if available and supported.
 
static XRT_NONNULL_ALL xrt_result_t xrt_app_system_set_recommended_view_configuration (struct xrt_app_system *xasys, enum xrt_view_type view_type, const struct xrt_recommended_view_config *recommended_view_config)
 Sets the recommended view configuration for the given view type.
 
static XRT_NONNULL_ALL void xrt_app_system_destroy (struct xrt_app_system **xasys_ptr)
 Destroy the application system and its owned objects.
 

Field Documentation

◆ xainst

struct xrt_app_instance* b_app_system::xainst

◆ xsys

struct xrt_system* b_app_system::xsys

The xrt_system this is wrapping.

Referenced by b_app_system_init().


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