Monado OpenXR Runtime
xrt_session.h File Reference

Header for session object. More...

#include "xrt/xrt_compiler.h"
#include "xrt/xrt_defines.h"
#include "xrt/xrt_space.h"
Include dependency graph for xrt_session.h:

Go to the source code of this file.

Data Structures

struct  xrt_session_event_state_change
 Session state changes event, type XRT_SESSION_EVENT_STATE_CHANGE. More...
 
struct  xrt_session_event_overlay
 Primary session state changes event, type XRT_SESSION_EVENT_OVERLAY_CHANGE. More...
 
struct  xrt_session_event_loss_pending
 Loss pending event, XRT_SESSION_EVENT_LOSS_PENDING. More...
 
struct  xrt_session_event_lost
 Session lost event, type XRT_SESSION_EVENT_LOST. More...
 
struct  xrt_session_event_display_refresh_rate_change
 Display refresh rate of compositor changed event, type XRT_SESSION_EVENT_DISPLAY_REFRESH_RATE_CHANGE. More...
 
struct  xrt_session_event_reference_space_change_pending
 Event that tells the application that the reference space has a pending change to it, maps to XrEventDataReferenceSpaceChangePending, type XRT_SESSION_EVENT_REFERENCE_SPACE_CHANGE_PENDING. More...
 
struct  xrt_session_event_perf_change
 Performance metrics change event. More...
 
struct  xrt_session_event_passthrough_state_change
 Passthrough state change event. More...
 
struct  xrt_session_event_visibility_mask_change
 Visibility mask changed event. More...
 
union  xrt_session_event
 Union of all session events, used to return multiple events through one call. More...
 
struct  xrt_session_event_sink
 Used internally from producers of events to push events into session, some sinks might multiplex events to multiple sessions. More...
 
struct  xrt_session
 The XRT representation of XrSession, this object does not have all of the functionality of a session, most are partitioned to the session level compositor object. More...
 

Enumerations

enum  xrt_session_event_type {
  XRT_SESSION_EVENT_NONE = 0 , XRT_SESSION_EVENT_STATE_CHANGE = 1 , XRT_SESSION_EVENT_OVERLAY_CHANGE = 2 , XRT_SESSION_EVENT_LOSS_PENDING = 3 ,
  XRT_SESSION_EVENT_LOST = 4 , XRT_SESSION_EVENT_DISPLAY_REFRESH_RATE_CHANGE = 5 , XRT_SESSION_EVENT_REFERENCE_SPACE_CHANGE_PENDING = 6 , XRT_SESSION_EVENT_PERFORMANCE_CHANGE = 7 ,
  XRT_SESSION_EVENT_PASSTHRU_STATE_CHANGE = 8 , XRT_SESSION_EVENT_VISIBILITY_MASK_CHANGE = 9
}
 Type of a xrt_session event. More...
 

Detailed Description

Header for session object.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m