Class QQuickGraphicsDevice
java.lang.Object
io.qt.QtObject
io.qt.quick.QQuickGraphicsDevice
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Opaque container for native graphics objects representing graphics devices or contexts
Java wrapper for Qt class QQuickGraphicsDevice
- Since:
- This class was introduced in Qt 6.0.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QQuickGraphicsDevice other) SeeQQuickGraphicsDevice::operator=(QQuickGraphicsDevice) clone()Creates and returns a copy of this object.final booleanequals(QQuickGraphicsDevice value2) Seeoperator==(QQuickGraphicsDevice,QQuickGraphicsDevice) booleanSeeoperator==(QQuickGraphicsDevice,QQuickGraphicsDevice) static QQuickGraphicsDevicefromAdapter(int adapterLuidLow, int adapterLuidHigh) Overloaded function forfromAdapter(int, int, int)withfeatureLevel = 0.static QQuickGraphicsDevicefromAdapter(int adapterLuidLow, int adapterLuidHigh, int featureLevel) static QQuickGraphicsDevicefromDeviceAndCommandQueue(QNativePointer device, QNativePointer commandQueue) static QQuickGraphicsDevicefromDeviceAndContext(QNativePointer device, QNativePointer context) static QQuickGraphicsDevicefromDeviceObjects(long physicalDevice, long device, int queueFamilyIndex) Overloaded function forfromDeviceObjects(long, long, int, int)withqueueIndex = 0.static QQuickGraphicsDevicefromDeviceObjects(long physicalDevice, long device, int queueFamilyIndex, int queueIndex) static QQuickGraphicsDevicefromOpenGLContext(QOpenGLContext context) static QQuickGraphicsDevicefromPhysicalDevice(long physicalDevice) static QQuickGraphicsDeviceinthashCode()Returns the objects's hash code computed byqHash(QQuickGraphicsDevice).final booleanisNull()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QQuickGraphicsDevice
public QQuickGraphicsDevice() -
QQuickGraphicsDevice
- Parameters:
other-
-
-
Method Details
-
isNull
-
assign
See
QQuickGraphicsDevice::operator=(QQuickGraphicsDevice) - Parameters:
other-
-
equals
See
operator==(QQuickGraphicsDevice,QQuickGraphicsDevice) - Parameters:
value2-- Returns:
-
fromAdapter
public static QQuickGraphicsDevice fromAdapter(int adapterLuidLow, int adapterLuidHigh, int featureLevel) - Parameters:
adapterLuidLow-adapterLuidHigh-featureLevel-- Returns:
-
fromDeviceAndCommandQueue
public static QQuickGraphicsDevice fromDeviceAndCommandQueue(QNativePointer device, QNativePointer commandQueue) - Parameters:
device-commandQueue-- Returns:
-
fromDeviceAndContext
public static QQuickGraphicsDevice fromDeviceAndContext(QNativePointer device, QNativePointer context) - Parameters:
device-context-- Returns:
-
fromDeviceObjects
public static QQuickGraphicsDevice fromDeviceObjects(long physicalDevice, long device, int queueFamilyIndex, int queueIndex) - Parameters:
physicalDevice-device-queueFamilyIndex-queueIndex-- Returns:
-
fromOpenGLContext
- Parameters:
context-- Returns:
-
fromPhysicalDevice
- Parameters:
physicalDevice-- Returns:
-
fromRhi
- Parameters:
rhi-- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
equals
See
operator==(QQuickGraphicsDevice,QQuickGraphicsDevice) -
hashCode
Returns the objects's hash code computed byqHash(QQuickGraphicsDevice). -
clone
Creates and returns a copy of this object.
See
QQuickGraphicsDevice::QQuickGraphicsDevice(QQuickGraphicsDevice) -
fromAdapter
Overloaded function for
fromAdapter(int, int, int)withfeatureLevel = 0. -
fromDeviceObjects
public static QQuickGraphicsDevice fromDeviceObjects(long physicalDevice, long device, int queueFamilyIndex) Overloaded function for
fromDeviceObjects(long, long, int, int)withqueueIndex = 0.
-