Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qopenxrplatform_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#
ifndef
QOPENXRPLATFORM_H
7
#
define
QOPENXRPLATFORM_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#
include
<
QtGui
/
qguiapplication_platform
.
h
>
21
22
#
ifdef
XR_USE_GRAPHICS_API_VULKAN
23
#
include
<
QtGui
/
QVulkanInstance
>
24
#
endif
25
26
#
ifdef
XR_USE_GRAPHICS_API_D3D11
27
#
include
<
d3d11
.
h
>
28
#
endif
29
30
#
ifdef
XR_USE_GRAPHICS_API_D3D12
31
#
include
<
d3d12
.
h
>
32
#
endif
33
34
#
if
defined
(
XR_USE_GRAPHICS_API_OPENGL
)
||
defined
(
XR_USE_GRAPHICS_API_OPENGL_ES
)
35
#
include
<
QtGui
/
QOpenGLContext
>
36
#
endif
37
38
#
ifdef
XR_USE_PLATFORM_ANDROID
39
#
include
<
QtCore
/
qnativeinterface
.
h
>
40
#
include
<
QtCore
/
QJniEnvironment
>
41
#
endif
42
43
#
ifdef
XR_USE_PLATFORM_XCB
44
#
include
<
xcb
/
xcb
.
h
>
45
#
include
<
xcb
/
glx
.
h
>
46
#
endif
47
48
#
if
defined
(
XR_USE_PLATFORM_EGL
)
||
defined
(
XR_USE_GRAPHICS_API_OPENGL_ES
)
49
#
include
<
EGL
/
egl
.
h
>
50
#
endif
51
52
#
ifdef
XR_USE_PLATFORM_XLIB
53
typedef
struct
__GLXFBConfigRec *GLXFBConfig;
54
typedef
unsigned
long
GLXDrawable;
55
#
endif
56
57
#
include
<
openxr
/
openxr_platform
.
h
>
58
59
#
endif
// QOPENXRPLATFORM_H
qtquick3d
src
xr
quick3dxr
openxr
qopenxrplatform_p.h
Generated on
for Qt by
1.16.1