6#include <QtCore/QObject>
7#include <QtCore/QString>
8#include <QtCore/qglobal.h>
37#ifdef QGC_UNITTEST_BUILD
40void publishDeviceSnapshotForTest(QRhi* rhi);
Publishes the native device of the QRhi driving QGC's main scene graph; Qt has no global RHI accessor...
void setPublishedHandler(void(*handler)()) noexcept
void connectWindow(QQuickWindow *window)
DeviceSnapshot & deviceSnapshot() noexcept
Returns the global snapshot. Atomic fields make individual reads thread-safe.
std::atomic< bool > d3d11OpensD3D12
std::atomic< quint32 > vkDeviceId
deviceID
std::atomic< int > backend
QRhi::Implementation cast to int (-1 = unset).
std::array< std::atomic< quint64 >, 2 > vkPipelineCacheUuid
pipelineCacheUUID, 8 bytes each in memory order
std::atomic< void * > d3d11Device
ID3D11Device* (Windows only).
std::atomic< qint64 > adapterLuid
std::atomic< quint32 > vkVendorId
vendorID