29 QQuickGraphicsDevice();
30 ~QQuickGraphicsDevice();
31 QQuickGraphicsDevice(
const QQuickGraphicsDevice &other);
32 QQuickGraphicsDevice &operator=(
const QQuickGraphicsDevice &other);
36#if QT_CONFIG(opengl) || defined(Q_QDOC)
37 static QQuickGraphicsDevice fromOpenGLContext(QOpenGLContext *context);
40#if defined(Q_OS_WIN) || defined(Q_QDOC)
41 static QQuickGraphicsDevice fromAdapter(quint32 adapterLuidLow, qint32 adapterLuidHigh,
int featureLevel = 0);
42 static QQuickGraphicsDevice fromDeviceAndContext(
void *device,
void *context);
45#if QT_CONFIG(metal) || defined(Q_QDOC)
46 static QQuickGraphicsDevice fromDeviceAndCommandQueue(MTLDevice *device, MTLCommandQueue *commandQueue);
49#if QT_CONFIG(vulkan) || defined(Q_QDOC)
50 static QQuickGraphicsDevice fromPhysicalDevice(VkPhysicalDevice physicalDevice);
51 static QQuickGraphicsDevice fromDeviceObjects(VkPhysicalDevice physicalDevice, VkDevice device,
int queueFamilyIndex,
int queueIndex = 0);
54 static QQuickGraphicsDevice fromRhi(QRhi *rhi);
55 static QQuickGraphicsDevice fromRhiAdapter(QRhiAdapter *adapter);
59 QQuickGraphicsDevicePrivate *d;
60 friend class QQuickGraphicsDevicePrivate;