All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.rhi.QRhiTextureRenderTargetDescription Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui.rhi;

import io.qt.*;


/**
 * 

Describes the color and depth or depth/stencil attachments of a render target

*

Java wrapper for Qt class QRhiTextureRenderTargetDescription

*/ public class QRhiTextureRenderTargetDescription extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcDepthStencilBuffer = null; @QtPropertyMember(enabled=false) private Object __rcDepthTexture = null; /** *

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription()

*/ public QRhiTextureRenderTargetDescription(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRhiTextureRenderTargetDescription instance); /** *

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(QRhiColorAttachment)

*/ public QRhiTextureRenderTargetDescription(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment colorAttachment){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(colorAttachment, "Argument 'colorAttachment': null not expected."); initialize_native(this, colorAttachment); } private native static void initialize_native(QRhiTextureRenderTargetDescription instance, io.qt.gui.rhi.QRhiColorAttachment colorAttachment); /** *

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(QRhiColorAttachment,QRhiRenderBuffer*)

*/ public QRhiTextureRenderTargetDescription(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment colorAttachment, io.qt.gui.rhi.@Nullable QRhiRenderBuffer depthStencilBuffer){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(colorAttachment, "Argument 'colorAttachment': null not expected."); initialize_native(this, colorAttachment, depthStencilBuffer); } private native static void initialize_native(QRhiTextureRenderTargetDescription instance, io.qt.gui.rhi.QRhiColorAttachment colorAttachment, io.qt.gui.rhi.QRhiRenderBuffer depthStencilBuffer); /** *

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(QRhiColorAttachment,QRhiTexture*)

*/ public QRhiTextureRenderTargetDescription(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment colorAttachment, io.qt.gui.rhi.@Nullable QRhiTexture depthTexture){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(colorAttachment, "Argument 'colorAttachment': null not expected."); initialize_native(this, colorAttachment, depthTexture); } private native static void initialize_native(QRhiTextureRenderTargetDescription instance, io.qt.gui.rhi.QRhiColorAttachment colorAttachment, io.qt.gui.rhi.QRhiTexture depthTexture); /** *

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(QRhiTextureRenderTargetDescription)

*/ public QRhiTextureRenderTargetDescription(io.qt.gui.rhi.@StrictNonNull QRhiTextureRenderTargetDescription other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QRhiTextureRenderTargetDescription instance, io.qt.gui.rhi.QRhiTextureRenderTargetDescription other); /** *

See QRhiTextureRenderTargetDescription::colorAttachmentAt(qsizetype)const

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiColorAttachment colorAttachmentAt(long index){ return colorAttachmentAt_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } @QtUninvokable private native io.qt.gui.rhi.QRhiColorAttachment colorAttachmentAt_native_qsizetype_constfct(long __this__nativeId, long index); /** *

See QRhiTextureRenderTargetDescription::colorAttachmentCount()const

*/ @QtUninvokable public final long colorAttachmentCount(){ return colorAttachmentCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long colorAttachmentCount_native_constfct(long __this__nativeId); /** *

See QRhiTextureRenderTargetDescription::depthStencilBuffer()const

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiRenderBuffer depthStencilBuffer(){ return depthStencilBuffer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiRenderBuffer depthStencilBuffer_native_constfct(long __this__nativeId); /** *

See QRhiTextureRenderTargetDescription::depthTexture()const

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture depthTexture(){ return depthTexture_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiTexture depthTexture_native_constfct(long __this__nativeId); /** *

See QRhiTextureRenderTargetDescription::setColorAttachments(std::initializer_list<QRhiColorAttachment>)

*/ @QtUninvokable public final void setColorAttachments(io.qt.gui.rhi.@NonNull QRhiColorAttachment@NonNull ... list){ setColorAttachments_native_std_initializer_list(QtJambi_LibraryUtilities.internal.nativeId(this), list); } @QtUninvokable private native void setColorAttachments_native_std_initializer_list(long __this__nativeId, io.qt.gui.rhi.QRhiColorAttachment[] list); /** *

See QRhiTextureRenderTargetDescription::setDepthStencilBuffer(QRhiRenderBuffer*)

*/ @QtUninvokable public final void setDepthStencilBuffer(io.qt.gui.rhi.@Nullable QRhiRenderBuffer renderBuffer){ setDepthStencilBuffer_native_QRhiRenderBuffer_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(renderBuffer)); __rcDepthStencilBuffer = renderBuffer; } @QtUninvokable private native void setDepthStencilBuffer_native_QRhiRenderBuffer_ptr(long __this__nativeId, long renderBuffer); /** *

See QRhiTextureRenderTargetDescription::setDepthTexture(QRhiTexture*)

*/ @QtUninvokable public final void setDepthTexture(io.qt.gui.rhi.@Nullable QRhiTexture texture){ setDepthTexture_native_QRhiTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(texture)); __rcDepthTexture = texture; } @QtUninvokable private native void setDepthTexture_native_QRhiTexture_ptr(long __this__nativeId, long texture); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhiTextureRenderTargetDescription(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(QRhiTextureRenderTargetDescription)

*/ @QtUninvokable @Override public QRhiTextureRenderTargetDescription clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QRhiTextureRenderTargetDescription clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy