Monado OpenXR Runtime
Data Fields
oxr_session Struct Reference

Object that client program interact with. More...

#include <oxr/oxr_objects.h>

Collaboration diagram for oxr_session:
Collaboration graph
[legend]

Data Fields

struct oxr_handle_base handle
 Common structure for things referred to by OpenXR handles. More...
 
struct oxr_systemsys
 
struct xrt_compositorcompositor
 
struct oxr_sessionnext
 
XrSessionState state
 
bool frame_started
 
bool exiting
 
struct u_hashmap_intact_sets
 
struct u_hashmap_intsources
 
struct oxr_source_setsrc_set_list
 List of created source sets. More...
 
bool actionsAttached
 Has xrAttachSessionActionSets been called? More...
 
float ipd_meters
 IPD, to be expanded to a proper 3D relation. More...
 
float static_prediction_s
 
XrResult(* create_swapchain )(struct oxr_logger *, struct oxr_session *sess, const XrSwapchainCreateInfo *, struct oxr_swapchain **)
 To pipe swapchain creation to right code. More...
 
XrPath left
 Currently bound interaction profile. More...
 
XrPath right
 
XrPath head
 
XrPath gamepad
 

Detailed Description

Object that client program interact with.

OpenXR Object:
XrSession

Field Documentation

◆ act_sets

struct u_hashmap_int* oxr_session::act_sets

◆ actionsAttached

bool oxr_session::actionsAttached

Has xrAttachSessionActionSets been called?

Referenced by oxr_action_get_current_interaction_profile().

◆ compositor

struct xrt_compositor* oxr_session::compositor

◆ create_swapchain

XrResult(* oxr_session::create_swapchain) (struct oxr_logger *, struct oxr_session *sess, const XrSwapchainCreateInfo *, struct oxr_swapchain **)

To pipe swapchain creation to right code.

Referenced by oxr_xrCreateSwapchain().

◆ exiting

bool oxr_session::exiting

◆ frame_started

bool oxr_session::frame_started

◆ gamepad

XrPath oxr_session::gamepad

◆ handle

struct oxr_handle_base oxr_session::handle

Common structure for things referred to by OpenXR handles.

Referenced by oxr_xrDestroySession().

◆ head

XrPath oxr_session::head

◆ ipd_meters

float oxr_session::ipd_meters

IPD, to be expanded to a proper 3D relation.

◆ left

XrPath oxr_session::left

Currently bound interaction profile.

Referenced by oxr_action_get_current_interaction_profile().

◆ next

struct oxr_session* oxr_session::next

◆ right

XrPath oxr_session::right

◆ sources

struct u_hashmap_int* oxr_session::sources

◆ src_set_list

struct oxr_source_set* oxr_session::src_set_list

List of created source sets.

◆ state

XrSessionState oxr_session::state

◆ static_prediction_s

float oxr_session::static_prediction_s

◆ sys

struct oxr_system* oxr_session::sys

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