Monado OpenXR Runtime
t_instance Struct Reference

Main "real" instance implementation. More...

#include <common/target_instance_parts.h>

Inheritance diagram for t_instance:
Collaboration diagram for t_instance:

Data Fields

struct xrt_instance base
 
struct xrt_proberxp
 
- Data Fields inherited from xrt_instance
struct xrt_instance_info instance_info
 Instance information structure, including both platform and application info. More...
 
int64_t startup_timestamp
 CLOCK_MONOTONIC timestamp of the instance startup. More...
 
struct xrt_instance_android * android_instance
 An "aspect" of the xrt_instance interface, used only on Android. More...
 
xrt_result_t(* create_system )(struct xrt_instance *xinst, struct xrt_system **out_xsys, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, struct xrt_system_compositor **out_xsysc)
 Creates all of the system resources like the devices and system compositor. More...
 
xrt_result_t(* get_prober )(struct xrt_instance *xinst, struct xrt_prober **out_xp)
 Get the instance xrt_prober, if any. More...
 
void(* destroy )(struct xrt_instance *xinst)
 Destroy the instance and its owned objects, including the prober (if any). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from xrt_instance
static xrt_result_t xrt_instance_create_system (struct xrt_instance *xinst, struct xrt_system **out_xsys, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso, struct xrt_system_compositor **out_xsysc)
 Creates all of the system resources like the devices and system compositor. More...
 
static xrt_result_t xrt_instance_get_prober (struct xrt_instance *xinst, struct xrt_prober **out_xp)
 Get the instance xrt_prober, if any. More...
 
static void xrt_instance_destroy (struct xrt_instance **xinst_ptr)
 Destroy an xrt_instance - helper function. More...
 

Detailed Description

Main "real" instance implementation.

Used in instances both with and without compositor usage.


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