- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Opaque container for native graphics resources specifying a render target, and associated metadata
Java wrapper for Qt class QQuickRenderTarget
- Since:
- This class was introduced in Qt 6.0.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QQuickRenderTarget other) SeeQQuickRenderTarget::
operator=(QQuickRenderTarget) clone()
Creates and returns a copy of this object.final double
final boolean
equals
(QQuickRenderTarget rhs) boolean
static QQuickRenderTarget
fromD3D11Texture
(QNativePointer texture, int format, QSize pixelSize) Overloaded function forfromD3D11Texture(QNativePointer, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromD3D11Texture
(QNativePointer texture, int format, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromD3D11Texture
(QNativePointer texture, QSize pixelSize) Overloaded function forfromD3D11Texture(QNativePointer, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromD3D11Texture
(QNativePointer texture, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, int format, QSize pixelSize) Overloaded function forfromMetalTexture(QNativePointer, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, int format, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, QSize pixelSize) Overloaded function forfromMetalTexture(QNativePointer, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromOpenGLRenderBuffer
(int renderbufferId, QSize pixelSize) Overloaded function forfromOpenGLRenderBuffer(int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromOpenGLRenderBuffer
(int renderbufferId, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromOpenGLTexture
(int textureId, int format, QSize pixelSize) Overloaded function forfromOpenGLTexture(int, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromOpenGLTexture
(int textureId, int format, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromOpenGLTexture
(int textureId, QSize pixelSize) Overloaded function forfromOpenGLTexture(int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromOpenGLTexture
(int textureId, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromPaintDevice
(QPaintDevice device) static QQuickRenderTarget
fromVulkanImage
(long image, int layout, int format, QSize pixelSize) Overloaded function forfromVulkanImage(long, int, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromVulkanImage
(long image, int layout, int format, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromVulkanImage
(long image, int layout, QSize pixelSize) Overloaded function forfromVulkanImage(long, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromVulkanImage
(long image, int layout, QSize pixelSize, int sampleCount) int
hashCode()
Returns the objects's hash code computed byqHash(QQuickRenderTarget)
.final boolean
isNull()
final boolean
final void
setDevicePixelRatio
(double ratio) final void
setMirrorVertically
(boolean enable) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QQuickRenderTarget
public QQuickRenderTarget() -
QQuickRenderTarget
- Parameters:
other
-
-
-
Method Details
-
devicePixelRatio
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
isNull
- Returns:
-
mirrorVertically
- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
assign
See
QQuickRenderTarget::
operator=(QQuickRenderTarget) - Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
setDevicePixelRatio
- Parameters:
ratio
-- Since:
- This function was introduced in Qt 6.3.
-
setMirrorVertically
- Parameters:
enable
-- Since:
- This function was introduced in Qt 6.4.
-
fromD3D11Texture
public static QQuickRenderTarget fromD3D11Texture(QNativePointer texture, QSize pixelSize, int sampleCount) - Parameters:
texture
-pixelSize
-sampleCount
-- Returns:
-
fromD3D11Texture
public static QQuickRenderTarget fromD3D11Texture(QNativePointer texture, int format, QSize pixelSize, int sampleCount) - Parameters:
texture
-format
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
fromMetalTexture
public static QQuickRenderTarget fromMetalTexture(QNativePointer texture, QSize pixelSize, int sampleCount) - Parameters:
texture
-pixelSize
-sampleCount
-- Returns:
-
fromMetalTexture
public static QQuickRenderTarget fromMetalTexture(QNativePointer texture, int format, QSize pixelSize, int sampleCount) - Parameters:
texture
-format
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
fromOpenGLRenderBuffer
public static QQuickRenderTarget fromOpenGLRenderBuffer(int renderbufferId, QSize pixelSize, int sampleCount) - Parameters:
renderbufferId
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.2.
-
fromOpenGLTexture
- Parameters:
textureId
-pixelSize
-sampleCount
-- Returns:
-
fromOpenGLTexture
public static QQuickRenderTarget fromOpenGLTexture(int textureId, int format, QSize pixelSize, int sampleCount) - Parameters:
textureId
-format
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
fromPaintDevice
- Parameters:
device
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
fromVulkanImage
public static QQuickRenderTarget fromVulkanImage(long image, int layout, QSize pixelSize, int sampleCount) - Parameters:
image
-layout
-pixelSize
-sampleCount
-- Returns:
-
fromVulkanImage
public static QQuickRenderTarget fromVulkanImage(long image, int layout, int format, QSize pixelSize, int sampleCount) - Parameters:
image
-layout
-format
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QQuickRenderTarget)
. -
clone
Creates and returns a copy of this object.
See
QQuickRenderTarget::
QQuickRenderTarget(QQuickRenderTarget) -
fromD3D11Texture
Overloaded function for
fromD3D11Texture(QNativePointer, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromD3D11Texture
public static QQuickRenderTarget fromD3D11Texture(QNativePointer texture, int format, QSize pixelSize) Overloaded function for
fromD3D11Texture(QNativePointer, int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromMetalTexture
Overloaded function for
fromMetalTexture(QNativePointer, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromMetalTexture
public static QQuickRenderTarget fromMetalTexture(QNativePointer texture, int format, QSize pixelSize) Overloaded function for
fromMetalTexture(QNativePointer, int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromOpenGLRenderBuffer
Overloaded function for
fromOpenGLRenderBuffer(int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromOpenGLTexture
Overloaded function for
fromOpenGLTexture(int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromOpenGLTexture
Overloaded function for
fromOpenGLTexture(int, int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromVulkanImage
Overloaded function for
fromVulkanImage(long, int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromVulkanImage
public static QQuickRenderTarget fromVulkanImage(long image, int layout, int format, QSize pixelSize) Overloaded function for
fromVulkanImage(long, int, int, io.qt.core.QSize, int)
withsampleCount = 1
.
-