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

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

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

import io.qt.*;


/**
 * 

Specifies clear values for a depth or stencil buffer

*

Java wrapper for Qt class QRhiDepthStencilClearValue

*/ public class QRhiDepthStencilClearValue extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QRhiDepthStencilClearValue::QRhiDepthStencilClearValue()

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

See QRhiDepthStencilClearValue::QRhiDepthStencilClearValue(QRhiDepthStencilClearValue)

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

See QRhiDepthStencilClearValue::QRhiDepthStencilClearValue(float,quint32)

*/ public QRhiDepthStencilClearValue(float d, int s){ super((QPrivateConstructor)null); initialize_native(this, d, s); } private native static void initialize_native(QRhiDepthStencilClearValue instance, float d, int s); /** *

See QRhiDepthStencilClearValue::depthClearValue()const

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

See operator==(QRhiDepthStencilClearValue,QRhiDepthStencilClearValue)

*/ @QtUninvokable public final boolean equals(io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue b){ java.util.Objects.requireNonNull(b, "Argument 'b': null not expected."); return equals_native_cref_QRhiDepthStencilClearValue(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b)); } @QtUninvokable private native boolean equals_native_cref_QRhiDepthStencilClearValue(long __this__nativeId, long b); /** *

See QRhiDepthStencilClearValue::setDepthClearValue(float)

*/ @QtUninvokable public final void setDepthClearValue(float d){ setDepthClearValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), d); } @QtUninvokable private native void setDepthClearValue_native_float(long __this__nativeId, float d); /** *

See QRhiDepthStencilClearValue::setStencilClearValue(quint32)

*/ @QtUninvokable public final void setStencilClearValue(int s){ setStencilClearValue_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), s); } @QtUninvokable private native void setStencilClearValue_native_quint32(long __this__nativeId, int s); /** *

See QRhiDepthStencilClearValue::stencilClearValue()const

*/ @QtUninvokable public final int stencilClearValue(){ return stencilClearValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int stencilClearValue_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhiDepthStencilClearValue(QPrivateConstructor p) { super(p); } /** *

See operator==(QRhiDepthStencilClearValue,QRhiDepthStencilClearValue)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.rhi.QRhiDepthStencilClearValue) { return equals((io.qt.gui.rhi.QRhiDepthStencilClearValue) other); } return false; } /** * Returns the objects's hash code computed by qHash(QRhiDepthStencilClearValue). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QRhiDepthStencilClearValue)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QRhiDepthStencilClearValue::QRhiDepthStencilClearValue(QRhiDepthStencilClearValue)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy