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
ConstructorsConstructorDescriptionQRhiTextureRenderTargetDescription(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 QRhiColorAttachmentcolorAttachmentAt(long index) final longfinal QRhiTexturefinal QRhiRenderBufferfinal QRhiTexturefinal voidsetColorAttachments(QRhiColorAttachment ... list) final voidfinal voidsetDepthStencilBuffer(QRhiRenderBuffer renderBuffer) final voidsetDepthTexture(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)
-