8#ifndef META_OCEAN_PLATFORM_OPENXR_SESSION_H
9#define META_OCEAN_PLATFORM_OPENXR_SESSION_H
31class OCEAN_PLATFORM_OPENXR_EXPORT
Session final
93 bool begin(
const XrViewConfigurationType xrViewConfigurationType);
113 inline unsigned int width()
const;
119 inline unsigned int height()
const;
150 bool nextFrame(XrTime& predictedDisplayTime, XrDuration* predictedDisplayPeriod =
nullptr);
158 inline bool setColorSpace(
const XrColorSpaceFB xrColorSpaceFB);
198 operator XrSession()
const;
205 explicit inline operator bool()
const;
295 *
this = std::move(session);
300 ocean_assert(instance.
isValid());
301 ocean_assert(xrGraphicsBinding !=
nullptr);
373inline Session::operator bool()
const
This class implements a recursive lock object.
Definition Lock.h:31
This class implements a scoped lock object for recursive lock objects.
Definition Lock.h:147
The namespace covering the entire Ocean framework.
Definition Accessor.h:15