API Documentation
Loading...
Searching...
No Matches
XRManager Class Reference

Manages the OpenXR engine at a high level. More...

#include <XRManager.h>

Public Member Functions

void createCameras ()
 
XrEnvironmentBlendMode environmentBlendMode ()
 
void getAvialableBlendModes (XrViewConfigurationType type)
 
Matrix< fltp08globalTransform () const
 
const XrBaseInStructure * graphicsBinding () const
 
void HandleSessionStateChangedEvent (const XrEventDataSessionStateChanged &stateChangedEvent, bool *exitRenderLoop, bool *requestRestart)
 
void InitializeSession ()
 
bool isSessionFocused () const
 
bool isSessionRunning () const
 
void pollActions ()
 
void pollEvents (bool *exitRenderLoop, bool *requestRestart)
 
void renderFrame ()
 
bool renderLayer (XrTime predictedDisplayTime, Buffer< XrCompositionLayerProjectionView > &projectionLayerViews, XrCompositionLayerProjection &layer)
 
void renderLoop ()
 
void setSessionEndFunction (std::function< void()> function)
 
void setupSession ()
 
void start ()
 
const XrEventDataBaseHeader * tryReadNextEvent ()
 
void updateMovement ()
 
XrViewConfigurationType viewConfigType () const
 
XrInstance xrInstance () const
 
 XRManager (QTModelManager *manager)
 
XrSession xrSession () const
 
XrSystemId xrSystemID () const
 

Detailed Description

Manages the OpenXR engine at a high level.


Constructor & Destructor Documentation

◆ XRManager()

XRManager ( QTModelManager * manager)

Member Function Documentation

◆ createCameras()

void createCameras ( )

◆ environmentBlendMode()

XrEnvironmentBlendMode environmentBlendMode ( )
inline

◆ getAvialableBlendModes()

void getAvialableBlendModes ( XrViewConfigurationType type)

◆ globalTransform()

Matrix< fltp08 > globalTransform ( ) const

◆ graphicsBinding()

const XrBaseInStructure * graphicsBinding ( ) const
inline

◆ HandleSessionStateChangedEvent()

void HandleSessionStateChangedEvent ( const XrEventDataSessionStateChanged & stateChangedEvent,
bool * exitRenderLoop,
bool * requestRestart )

◆ InitializeSession()

void InitializeSession ( )

◆ isSessionFocused()

bool isSessionFocused ( ) const
inline

◆ isSessionRunning()

bool isSessionRunning ( ) const
inline

◆ pollActions()

void pollActions ( )

◆ pollEvents()

void pollEvents ( bool * exitRenderLoop,
bool * requestRestart )

◆ renderFrame()

void renderFrame ( )

◆ renderLayer()

bool renderLayer ( XrTime predictedDisplayTime,
Buffer< XrCompositionLayerProjectionView > & projectionLayerViews,
XrCompositionLayerProjection & layer )

◆ renderLoop()

void renderLoop ( )

◆ setSessionEndFunction()

void setSessionEndFunction ( std::function< void()> function)
inline

◆ setupSession()

void setupSession ( )

◆ start()

void start ( )

◆ tryReadNextEvent()

const XrEventDataBaseHeader * tryReadNextEvent ( )

◆ updateMovement()

void updateMovement ( )

◆ viewConfigType()

XrViewConfigurationType viewConfigType ( ) const
inline

◆ xrInstance()

XrInstance xrInstance ( ) const
inline

◆ xrSession()

XrSession xrSession ( ) const
inline

◆ xrSystemID()

XrSystemId xrSystemID ( ) const
inline

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