12 class DistanceMeasureModel;
13 class PointMeasureModel;
35 void pollEvents(
bool* exitRenderLoop,
bool* requestRestart);
39 XrInstance
xrInstance()
const {
return m_device->xrInstance(); }
40 XrSystemId
xrSystemID()
const {
return m_device->xrSystemID(); }
41 XrSession
xrSession()
const {
return m_xr_session; }
42 const XrBaseInStructure*
graphicsBinding()
const {
return reinterpret_cast<const XrBaseInStructure*
>(&m_device->graphicsBinding()); }
43 XrViewConfigurationType
viewConfigType()
const {
return XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO; }
58 std::function<void()> m_session_end_function;
61 XrSpace m_appSpace{ XR_NULL_HANDLE };
64 XrEnvironmentBlendMode m_current_blend_mode;
66 XrSession m_xr_session{ XR_NULL_HANDLE };
68 XrSessionState m_session_state{ XR_SESSION_STATE_UNKNOWN };
71 XrEventDataBuffer m_event_data_buffer;
74 Buffer<XrViewConfigurationView> m_config_views;
75 Buffer<XRVulkanPipeline> m_pipelines;
76 Buffer<XrView> m_views;
79 Time m_last_update_time;
80 bool m_session_running{
false };
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
Responsible for updating resources or layouts of data in-between calls to render.
Definition GraphicsUpdater.h:49
Definition Matrix.hpp:176
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
A thread is a single sequence stream within the software.
Definition Thread.h:67
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
Manages the OpenXR engine at a high level.
Definition XRManager.h:20
void setSessionEndFunction(std::function< void()> function)
Definition XRManager.h:44
bool isSessionRunning() const
Definition XRManager.h:29
XRManager(QTModelManager *manager)
XrSession xrSession() const
Definition XRManager.h:41
XrSystemId xrSystemID() const
Definition XRManager.h:40
void HandleSessionStateChangedEvent(const XrEventDataSessionStateChanged &stateChangedEvent, bool *exitRenderLoop, bool *requestRestart)
XrEnvironmentBlendMode environmentBlendMode()
Definition XRManager.h:31
const XrEventDataBaseHeader * tryReadNextEvent()
XrInstance xrInstance() const
Definition XRManager.h:39
void getAvialableBlendModes(XrViewConfigurationType type)
Matrix< fltp08 > globalTransform() const
bool isSessionFocused() const
Definition XRManager.h:30
void pollEvents(bool *exitRenderLoop, bool *requestRestart)
bool renderLayer(XrTime predictedDisplayTime, Buffer< XrCompositionLayerProjectionView > &projectionLayerViews, XrCompositionLayerProjection &layer)
XrViewConfigurationType viewConfigType() const
Definition XRManager.h:43
const XrBaseInStructure * graphicsBinding() const
Definition XRManager.h:42
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233