java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiTextureRenderTargetDescription
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes the color and depth or depth/stencil attachments of a render target
Java wrapper for Qt class QRhiTextureRenderTargetDescription
- Since:
- This class was introduced in Qt 6.6.
-
Constructor Summary
ConstructorDescriptionQRhiTextureRenderTargetDescription
(QRhiColorAttachment colorAttachment) QRhiTextureRenderTargetDescription
(QRhiColorAttachment colorAttachment, QRhiRenderBuffer depthStencilBuffer) QRhiTextureRenderTargetDescription
(QRhiColorAttachment colorAttachment, QRhiTexture depthTexture) SeeQRhiTextureRenderTargetDescription::
QRhiTextureRenderTargetDescription(QRhiTextureRenderTargetDescription) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QRhiColorAttachment
colorAttachmentAt
(long index) final long
final QRhiTexture
final QRhiRenderBuffer
final QRhiTexture
final void
setColorAttachments
(QRhiColorAttachment ... list) final void
final void
setDepthStencilBuffer
(QRhiRenderBuffer renderBuffer) final void
setDepthTexture
(QRhiTexture texture) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QRhiTextureRenderTargetDescription
public QRhiTextureRenderTargetDescription() -
QRhiTextureRenderTargetDescription
- Parameters:
colorAttachment
-
-
QRhiTextureRenderTargetDescription
public QRhiTextureRenderTargetDescription(QRhiColorAttachment colorAttachment, QRhiRenderBuffer depthStencilBuffer) - Parameters:
colorAttachment
-depthStencilBuffer
-
-
QRhiTextureRenderTargetDescription
public QRhiTextureRenderTargetDescription(QRhiColorAttachment colorAttachment, QRhiTexture depthTexture) - Parameters:
colorAttachment
-depthTexture
-
-
QRhiTextureRenderTargetDescription
See
QRhiTextureRenderTargetDescription::
QRhiTextureRenderTargetDescription(QRhiTextureRenderTargetDescription) - Parameters:
other
-
-
-
Method Details
-
colorAttachmentAt
- Parameters:
index
-- Returns:
-
colorAttachmentCount
- Returns:
-
depthResolveTexture
- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
depthStencilBuffer
- Returns:
-
depthTexture
- Returns:
-
setColorAttachments
See
QRhiTextureRenderTargetDescription::
setColorAttachments(std::initializer_list<QRhiColorAttachment>) - Parameters:
list
-
-
setDepthResolveTexture
- Parameters:
tex
-- Since:
- This function was introduced in Qt 6.8.
-
setDepthStencilBuffer
- Parameters:
renderBuffer
-
-
setDepthTexture
- Parameters:
texture
-
-
clone
Creates and returns a copy of this object.
See
QRhiTextureRenderTargetDescription::
QRhiTextureRenderTargetDescription(QRhiTextureRenderTargetDescription)
-