Monado OpenXR Runtime
oxr_system Struct Reference

Single or multiple devices grouped together to form a system that sessions can be created from. More...

#include <oxr/oxr_objects.h>

Collaboration diagram for oxr_system:

Data Fields

struct oxr_instanceinst
 
struct xrt_systemxsys
 The XRT interfaces level system. More...
 
struct xrt_system_devicesxsysd
 System devices used in all session types. More...
 
struct xrt_space_overseerxso
 Space overseer used in all session types. More...
 
struct xrt_system_compositorxsysc
 System compositor, used to create session compositors. More...
 
XrSystemId systemId
 
bool gotten_requirements
 Have the client application called the gfx api requirements func? More...
 
XrFormFactor form_factor
 
XrViewConfigurationType view_config_type
 
XrViewConfigurationView views [2]
 
uint32_t blend_mode_count
 
XrEnvironmentBlendMode blend_modes [3]
 
XrReferenceSpaceType reference_spaces [5]
 
uint32_t reference_space_count
 
struct xrt_system_roles dynamic_roles_cache
 Cache of the last known system roles, see xrt_system_roles::generation_id. More...
 
struct os_mutex sync_actions_mutex
 
struct xrt_visibility_maskvisibility_mask [2]
 
VkInstance vulkan_enable2_instance
 The instance/device we create when vulkan_enable2 is used. More...
 
VkPhysicalDevice suggested_vulkan_physical_device
 The device returned with the last xrGetVulkanGraphicsDeviceKHR or xrGetVulkanGraphicsDevice2KHR call. More...
 
struct {
   bool   external_fence_fd_enabled
 
   bool   external_semaphore_fd_enabled
 
   bool   timeline_semaphore_enabled
 
   bool   debug_utils_enabled
 
   bool   image_format_list_enabled
 
vk
 

Detailed Description

Single or multiple devices grouped together to form a system that sessions can be created from.

Might need to open devices to get all properties from it, but shouldn't.

Not strictly an object, but an atom.

Valid only within an XrInstance (oxr_instance)

OpenXR Object:
XrSystemId

Field Documentation

◆ dynamic_roles_cache

struct xrt_system_roles oxr_system::dynamic_roles_cache

Cache of the last known system roles, see xrt_system_roles::generation_id.

Referenced by oxr_system_fill_in().

◆ gotten_requirements

bool oxr_system::gotten_requirements

Have the client application called the gfx api requirements func?

◆ suggested_vulkan_physical_device

VkPhysicalDevice oxr_system::suggested_vulkan_physical_device

The device returned with the last xrGetVulkanGraphicsDeviceKHR or xrGetVulkanGraphicsDevice2KHR call.

XR_NULL_HANDLE if neither has been called.

Referenced by oxr_system_fill_in().

◆ vulkan_enable2_instance

VkInstance oxr_system::vulkan_enable2_instance

The instance/device we create when vulkan_enable2 is used.

Referenced by oxr_system_fill_in(), and oxr_vk_create_vulkan_device().

◆ xso

struct xrt_space_overseer* oxr_system::xso

Space overseer used in all session types.

Referenced by oxr_space_xdev_pose_create().

◆ xsys

struct xrt_system* oxr_system::xsys

The XRT interfaces level system.

◆ xsysc

struct xrt_system_compositor* oxr_system::xsysc

System compositor, used to create session compositors.

Referenced by oxr_d3d_check_luid(), oxr_d3d_get_requirements(), and oxr_system_fill_in().

◆ xsysd

struct xrt_system_devices* oxr_system::xsysd

System devices used in all session types.


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