- 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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQQuickRenderTarget::Flag
static final class
QFlags
type for enumQQuickRenderTarget.Flag
-
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 QRhiTexture
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, int format, QSize pixelSize, int sampleCount, QQuickRenderTarget.Flag ... flags) Overloaded function forfromD3D11Texture(QNativePointer, int, io.qt.core.QSize, int, io.qt.quick.QQuickRenderTarget.Flags)
.static QQuickRenderTarget
fromD3D11Texture
(QNativePointer texture, int format, QSize pixelSize, int sampleCount, QQuickRenderTarget.Flags flags) 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
fromD3D12Texture
(QNativePointer texture, int resourceState, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) static QQuickRenderTarget
fromD3D12Texture
(QNativePointer texture, int resourceState, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) static QQuickRenderTarget
fromD3D12Texture
(QNativePointer texture, int resourceState, int format, QSize pixelSize) Overloaded function forfromD3D12Texture(QNativePointer, int, int, io.qt.core.QSize, int)
withsampleCount = 1
.static QQuickRenderTarget
fromD3D12Texture
(QNativePointer texture, int resourceState, int format, QSize pixelSize, int sampleCount) static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) static QQuickRenderTarget
fromMetalTexture
(QNativePointer texture, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) 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, int format, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) Overloaded function forfromOpenGLTexture(int, int, io.qt.core.QSize, int, int, io.qt.quick.QQuickRenderTarget.Flags)
.static QQuickRenderTarget
fromOpenGLTexture
(int textureId, int format, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) 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
fromRhiRenderTarget
(QRhiRenderTarget renderTarget) static QQuickRenderTarget
fromVulkanImage
(long image, int layout, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) static QQuickRenderTarget
fromVulkanImage
(long image, int layout, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) 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
setDepthTexture
(QRhiTexture texture) 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
-
depthTexture
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
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:
-
setDepthTexture
- Parameters:
texture
-- Since:
- This function was introduced in Qt 6.8.
-
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.
-
fromD3D11Texture
public static QQuickRenderTarget fromD3D11Texture(QNativePointer texture, int format, QSize pixelSize, int sampleCount, QQuickRenderTarget.Flags flags) - Parameters:
texture
-format
-pixelSize
-sampleCount
-flags
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
fromD3D12Texture
public static QQuickRenderTarget fromD3D12Texture(QNativePointer texture, int resourceState, int format, QSize pixelSize, int sampleCount) - Parameters:
texture
-resourceState
-format
-pixelSize
-sampleCount
-- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
fromD3D12Texture
public static QQuickRenderTarget fromD3D12Texture(QNativePointer texture, int resourceState, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) See
QQuickRenderTarget::
fromD3D12Texture(void*, int, uint, uint, QSize, int, int, QQuickRenderTarget::Flags) - Parameters:
texture
-resourceState
-format
-viewFormat
-pixelSize
-sampleCount
-arraySize
-flags
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
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.
-
fromMetalTexture
public static QQuickRenderTarget fromMetalTexture(QNativePointer texture, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) See
QQuickRenderTarget::
fromMetalTexture(MTLTexture*, uint, uint, QSize, int, int, QQuickRenderTarget::Flags) - Parameters:
texture
-format
-viewFormat
-pixelSize
-sampleCount
-arraySize
-flags
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
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.
-
fromOpenGLTexture
public static QQuickRenderTarget fromOpenGLTexture(int textureId, int format, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) - Parameters:
textureId
-format
-pixelSize
-sampleCount
-arraySize
-flags
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
fromPaintDevice
- Parameters:
device
-- Returns:
- Since:
- This function was introduced in Qt 6.4.
-
fromRhiRenderTarget
- Parameters:
renderTarget
-- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
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.
-
fromVulkanImage
public static QQuickRenderTarget fromVulkanImage(long image, int layout, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flags flags) - Parameters:
image
-layout
-format
-viewFormat
-pixelSize
-sampleCount
-arraySize
-flags
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
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
. -
fromD3D11Texture
public static QQuickRenderTarget fromD3D11Texture(QNativePointer texture, int format, QSize pixelSize, int sampleCount, QQuickRenderTarget.Flag ... flags) Overloaded function for
fromD3D11Texture(QNativePointer, int, io.qt.core.QSize, int, io.qt.quick.QQuickRenderTarget.Flags)
. -
fromD3D12Texture
public static QQuickRenderTarget fromD3D12Texture(QNativePointer texture, int resourceState, int format, QSize pixelSize) Overloaded function for
fromD3D12Texture(QNativePointer, int, int, io.qt.core.QSize, int)
withsampleCount = 1
. -
fromD3D12Texture
public static QQuickRenderTarget fromD3D12Texture(QNativePointer texture, int resourceState, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) -
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
. -
fromMetalTexture
public static QQuickRenderTarget fromMetalTexture(QNativePointer texture, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) -
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
. -
fromOpenGLTexture
public static QQuickRenderTarget fromOpenGLTexture(int textureId, int format, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags) Overloaded function for
fromOpenGLTexture(int, int, io.qt.core.QSize, int, int, io.qt.quick.QQuickRenderTarget.Flags)
. -
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
. -
fromVulkanImage
public static QQuickRenderTarget fromVulkanImage(long image, int layout, int format, int viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget.Flag ... flags)
-