QQuickGraphicsDevice

The QQuickGraphicsDevice class provides an opaque container for native graphics objects representing graphics devices or contexts. More

Inheritance diagram of PySide6.QtQuick.QQuickGraphicsDevice

Synopsis

Functions

Static functions

Detailed Description

class PySide6.QtQuick.QQuickGraphicsDevice

PySide6.QtQuick.QQuickGraphicsDevice(other)

Parameters

otherPySide6.QtQuick.QQuickGraphicsDevice

Constructs a default QQuickGraphicsDevice that does not reference any native objects.

static PySide6.QtQuick.QQuickGraphicsDevice.fromOpenGLContext(context)
Parameters

contextPySide6.QtGui.QOpenGLContext

Return type

PySide6.QtQuick.QQuickGraphicsDevice

Returns a new QQuickGraphicsDevice referencing an existing OpenGL context.

This factory function is suitable for OpenGL.

PySide6.QtQuick.QQuickGraphicsDevice.isNull()
Return type

bool

Returns true if this is a default constructed graphics device that does not reference any native objects.