1 | // Copyright (C) 2017 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #pragma once |
5 | |
6 | #include "qxcbwindow.h" |
7 | #include "qxcbvulkaninstance.h" |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class QXcbVulkanWindow : public QXcbWindow |
12 | { |
13 | public: |
14 | QXcbVulkanWindow(QWindow *window); |
15 | ~QXcbVulkanWindow(); |
16 | |
17 | VkSurfaceKHR *surface(); |
18 | |
19 | protected: |
20 | void resolveFormat(const QSurfaceFormat &format) override; |
21 | |
22 | private: |
23 | VkSurfaceKHR m_surface; |
24 | }; |
25 | |
26 | QT_END_NAMESPACE |
27 |
Definitions
Learn Advanced QML with KDAB
Find out more