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
qohosplatformvulkaninstance.h
Go to the documentation of this file.
1// Copyright (C) 2026 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#ifndef QOHOSPLATFORMVULKANINSTANCE_H
5#define QOHOSPLATFORMVULKANINSTANCE_H
6
7#include <QtGui/private/qbasicvulkanplatforminstance_p.h>
8#include <QtCore/qlibrary.h>
9
10QT_BEGIN_NAMESPACE
11
12class QOhosPlatformVulkanInstance : public QBasicPlatformVulkanInstance
13{
14public:
15 explicit QOhosPlatformVulkanInstance(QVulkanInstance *instance);
16
17 void createOrAdoptInstance() override;
18
19private:
20 QVulkanInstance *m_instance;
21 QLibrary m_lib;
22};
23
24QT_END_NAMESPACE
25
26#endif // QOHOSPLATFORMVULKANINSTANCE_H