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

io.qt.qt3d.render.QStencilOperationArguments Maven / Gradle / Ivy

The newest version!
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Sets the actions to be taken when stencil and depth tests fail

*

Java wrapper for Qt class Qt3DRender::QStencilOperationArguments

*/ public final class QStencilOperationArguments extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QStencilOperationArguments.class); /** *

Java wrapper for Qt enum Qt3DRender::QStencilOperationArguments::FaceMode

*/ public enum FaceMode implements QtEnumerator { /** *

Representing Qt3DRender::QStencilOperationArguments::Front

*/ Front(1028), /** *

Representing Qt3DRender::QStencilOperationArguments::Back

*/ Back(1029), /** *

Representing Qt3DRender::QStencilOperationArguments::FrontAndBack

*/ FrontAndBack(1032); static { QtJambi_LibraryUtilities.initialize(); } private FaceMode(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull FaceMode resolve(int value) { switch (value) { case 1028: return Front; case 1029: return Back; case 1032: return FrontAndBack; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum Qt3DRender::QStencilOperationArguments::Operation

*/ public enum Operation implements QtEnumerator { /** *

Representing Qt3DRender::QStencilOperationArguments::Zero

*/ Zero(0), /** *

Representing Qt3DRender::QStencilOperationArguments::Keep

*/ Keep(7680), /** *

Representing Qt3DRender::QStencilOperationArguments::Replace

*/ Replace(7681), /** *

Representing Qt3DRender::QStencilOperationArguments::Increment

*/ Increment(7682), /** *

Representing Qt3DRender::QStencilOperationArguments::Decrement

*/ Decrement(7683), /** *

Representing Qt3DRender::QStencilOperationArguments::IncrementWrap

*/ IncrementWrap(34055), /** *

Representing Qt3DRender::QStencilOperationArguments::DecrementWrap

*/ DecrementWrap(34056), /** *

Representing Qt3DRender::QStencilOperationArguments::Invert

*/ Invert(5386); static { QtJambi_LibraryUtilities.initialize(); } private Operation(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Operation resolve(int value) { switch (value) { case 0: return Zero; case 7680: return Keep; case 7681: return Replace; case 7682: return Increment; case 7683: return Decrement; case 34055: return IncrementWrap; case 34056: return DecrementWrap; case 5386: return Invert; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See Qt3DRender::QStencilOperationArguments::allTestsPassOperationChanged(Qt3DRender::QStencilOperationArguments::Operation)

*/ @QtPropertyNotify(name="allTestsPassOperation") public final @NonNull Signal1 allTestsPassOperationChanged = new Signal1<>(); /** *

See Qt3DRender::QStencilOperationArguments::depthTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation)

*/ @QtPropertyNotify(name="depthTestFailureOperation") public final @NonNull Signal1 depthTestFailureOperationChanged = new Signal1<>(); /** *

See Qt3DRender::QStencilOperationArguments::faceModeChanged(Qt3DRender::QStencilOperationArguments::FaceMode)

*/ @QtPropertyNotify(name="faceMode") public final @NonNull Signal1 faceModeChanged = new Signal1<>(); /** *

See Qt3DRender::QStencilOperationArguments::stencilTestFailureOperationChanged(Qt3DRender::QStencilOperationArguments::Operation)

*/ @QtPropertyNotify(name="stencilTestFailureOperation") public final @NonNull Signal1 stencilTestFailureOperationChanged = new Signal1<>(); /** *

See Qt3DRender::QStencilOperationArguments::allTestsPassOperation()const

* @return */ @QtPropertyReader(name="allTestsPassOperation") @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation allTestsPassOperation(){ return io.qt.qt3d.render.QStencilOperationArguments.Operation.resolve(allTestsPassOperation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int allTestsPassOperation_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QStencilOperationArguments::depthTestFailureOperation()const

* @return */ @QtPropertyReader(name="depthTestFailureOperation") @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation depthTestFailureOperation(){ return io.qt.qt3d.render.QStencilOperationArguments.Operation.resolve(depthTestFailureOperation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int depthTestFailureOperation_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QStencilOperationArguments::faceMode()const

* @return */ @QtPropertyReader(name="faceMode") @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull FaceMode faceMode(){ return io.qt.qt3d.render.QStencilOperationArguments.FaceMode.resolve(faceMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int faceMode_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QStencilOperationArguments::setAllTestsPassOperation(Qt3DRender::QStencilOperationArguments::Operation)

* @param operation */ @QtPropertyWriter(name="allTestsPassOperation") public final void setAllTestsPassOperation(io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation operation){ setAllTestsPassOperation_native_Qt3DRender_QStencilOperationArguments_Operation(QtJambi_LibraryUtilities.internal.nativeId(this), operation.value()); } private native void setAllTestsPassOperation_native_Qt3DRender_QStencilOperationArguments_Operation(long __this__nativeId, int operation); /** *

See Qt3DRender::QStencilOperationArguments::setDepthTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation)

* @param operation */ @QtPropertyWriter(name="depthTestFailureOperation") public final void setDepthTestFailureOperation(io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation operation){ setDepthTestFailureOperation_native_Qt3DRender_QStencilOperationArguments_Operation(QtJambi_LibraryUtilities.internal.nativeId(this), operation.value()); } private native void setDepthTestFailureOperation_native_Qt3DRender_QStencilOperationArguments_Operation(long __this__nativeId, int operation); /** *

See Qt3DRender::QStencilOperationArguments::setStencilTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation)

* @param operation */ @QtPropertyWriter(name="stencilTestFailureOperation") public final void setStencilTestFailureOperation(io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation operation){ setStencilTestFailureOperation_native_Qt3DRender_QStencilOperationArguments_Operation(QtJambi_LibraryUtilities.internal.nativeId(this), operation.value()); } private native void setStencilTestFailureOperation_native_Qt3DRender_QStencilOperationArguments_Operation(long __this__nativeId, int operation); /** *

See Qt3DRender::QStencilOperationArguments::stencilTestFailureOperation()const

* @return */ @QtPropertyReader(name="stencilTestFailureOperation") @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation stencilTestFailureOperation(){ return io.qt.qt3d.render.QStencilOperationArguments.Operation.resolve(stencilTestFailureOperation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int stencilTestFailureOperation_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess private QStencilOperationArguments(QPrivateConstructor p) { super(p); } /** * @hidden *

Kotlin property getter. In Java use {@link #allTestsPassOperation()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation getAllTestsPassOperation() { return allTestsPassOperation(); } /** * @hidden *

Kotlin property getter. In Java use {@link #depthTestFailureOperation()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation getDepthTestFailureOperation() { return depthTestFailureOperation(); } /** * @hidden *

Kotlin property getter. In Java use {@link #faceMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull FaceMode getFaceMode() { return faceMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #stencilTestFailureOperation()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QStencilOperationArguments.@NonNull Operation getStencilTestFailureOperation() { return stencilTestFailureOperation(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy