56 #include <QtGui/private/qrhinull_p.h>
58 #include <QtGui/private/qrhigles2_p.h>
59 #include <QOffscreenSurface>
62 #include <QtGui/private/qrhivulkan_p.h>
65 #include <QtGui/private/qrhid3d11_p.h>
67 #if defined(Q_OS_MACOS) || defined(Q_OS_IOS)
68 #include <QtGui/private/qrhimetal_p.h>
89 std::unique_ptr<QRhiSwapChain>
m_sc;
90 std::unique_ptr<QRhiRenderBuffer>
m_ds;
91 std::unique_ptr<QRhiRenderPassDescriptor>
m_rp;
98 void resizeSwapChain();
106 bool m_running =
false;
107 bool m_notExposed =
false;
108 bool m_newlyExposed =
false;
The QEvent class is the base class of all event classes. Event objects contain event parameters.
The QExposeEvent class contains event parameters for expose events. \inmodule QtGui.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
The QWindow class represents a window in the underlying windowing system.
[Window class definition]
std::unique_ptr< QRhiSwapChain > m_sc
std::unique_ptr< QRhiRenderPassDescriptor > m_rp
std::unique_ptr< QRhi > m_rhi
virtual void customRender()
bool event(QEvent *event) override
QOffscreenSurface * m_fallbackSurface
std::unique_ptr< QRhiRenderBuffer > m_ds
virtual void customInit()
void exposeEvent(QExposeEvent *) override