Skyscraper
2.0
src
openxr
include
OgreOpenXRInstance.h
Go to the documentation of this file.
1
/*
2
Skyscraper 2.0 - OpenXR Instance
3
Portions Copyright (C)2024 Ryan Thoryk
4
MIT license - see LICENSE file
5
https://www.skyscrapersim.net
6
https://sourceforge.net/projects/skyscraper/
7
Contact - ryan@skyscrapersim.net
8
*/
9
10
/*
11
Original work produced by Glastonbridge Software Limited. This code is provided under the MIT license.
12
https://github.com/glastonbridge/OgreOpenXRRenderWindow
13
*/
14
15
#pragma once
16
17
#include "
OgreOpenXRConfig.h
"
18
#include <openxr/openxr.h>
19
#include <d3d11.h>
20
#include <utility>
21
#include "
XrUtility/XrHandle.h
"
22
23
#include <string>
24
25
namespace
Ogre
{
26
class
OpenXRInstance
{
27
public
:
28
OpenXRInstance
();
29
~OpenXRInstance
();
30
31
void
Initialize
(
const
std::string& applicationName);
32
const
xr::InstanceHandle
&
getHandle
();
33
const
bool
initialized
();
34
35
private
:
36
xr::InstanceHandle
m_instanceHandle
;
37
};
38
}
OgreOpenXRConfig.h
XrHandle.h
Ogre::OpenXRInstance
Definition
OgreOpenXRInstance.h:26
Ogre::OpenXRInstance::initialized
const bool initialized()
Definition
OgreOpenXRInstance.cpp:58
Ogre::OpenXRInstance::OpenXRInstance
OpenXRInstance()
Definition
OgreOpenXRInstance.cpp:21
Ogre::OpenXRInstance::~OpenXRInstance
~OpenXRInstance()
Definition
OgreOpenXRInstance.cpp:25
Ogre::OpenXRInstance::Initialize
void Initialize(const std::string &applicationName)
Definition
OgreOpenXRInstance.cpp:32
Ogre::OpenXRInstance::m_instanceHandle
xr::InstanceHandle m_instanceHandle
Definition
OgreOpenXRInstance.h:36
Ogre::OpenXRInstance::getHandle
const xr::InstanceHandle & getHandle()
Definition
OgreOpenXRInstance.cpp:53
xr::InstanceHandle
Definition
XrHandle.h:79
Ogre
Definition
OgreOpenXRInstance.h:25
Generated by
1.11.0