Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qxcbvulkanwindow.h
Go to the documentation of this file.
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#ifndef QXCBVULKANWINDOW_H
5#define QXCBVULKANWINDOW_H
6
7#include "qxcbwindow.h"
9
11
13{
14public:
17
18 VkSurfaceKHR *surface();
19
20protected:
21 void resolveFormat(const QSurfaceFormat &format) override;
22
23private:
24 VkSurfaceKHR m_surface;
25};
26
28
29#endif // QXCBVULKANWINDOW_H
QWindow * window() const
Returns the window which belongs to the QPlatformWindow.
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
\inmodule QtGui
Definition qwindow.h:63
VkSurfaceKHR * surface()
void resolveFormat(const QSurfaceFormat &format) override
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format