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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QQuickGraphicsDevice other) SeeQQuickGraphicsDevice::
operator=(QQuickGraphicsDevice) clone()
Creates and returns a copy of this object.final boolean
equals
(QQuickGraphicsDevice value2) Seeoperator==(QQuickGraphicsDevice,
QQuickGraphicsDevice) boolean
Seeoperator==(QQuickGraphicsDevice,
QQuickGraphicsDevice) static QQuickGraphicsDevice
fromAdapter
(int adapterLuidLow, int adapterLuidHigh) Overloaded function forfromAdapter(int, int, int)
withfeatureLevel = 0
.static QQuickGraphicsDevice
fromAdapter
(int adapterLuidLow, int adapterLuidHigh, int featureLevel) static QQuickGraphicsDevice
fromDeviceAndCommandQueue
(QNativePointer device, QNativePointer commandQueue) static QQuickGraphicsDevice
fromDeviceAndContext
(QNativePointer device, QNativePointer context) static QQuickGraphicsDevice
fromDeviceObjects
(long physicalDevice, long device, int queueFamilyIndex) Overloaded function forfromDeviceObjects(long, long, int, int)
withqueueIndex = 0
.static QQuickGraphicsDevice
fromDeviceObjects
(long physicalDevice, long device, int queueFamilyIndex, int queueIndex) static QQuickGraphicsDevice
fromOpenGLContext
(QOpenGLContext context) static QQuickGraphicsDevice
fromPhysicalDevice
(long physicalDevice) int
hashCode()
Returns the objects's hash code computed byqHash(QQuickGraphicsDevice)
.final boolean
isNull()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QQuickGraphicsDevice
public QQuickGraphicsDevice() -
QQuickGraphicsDevice
- Parameters:
other
-
-
-
Method Details
-
isNull
- Returns:
-
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:
-
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
.
-