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

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

package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Specifies the equation used for both the RGB blend equation and the Alpha blend equation

*

Java wrapper for Qt class Qt3DRender::QBlendEquation

*/ public class QBlendEquation extends io.qt.qt3d.render.QRenderState { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QBlendEquation.class); /** *

Java wrapper for Qt enum Qt3DRender::QBlendEquation::BlendFunction

*/ public enum BlendFunction implements QtEnumerator { /** *

Representing Qt3DRender::QBlendEquation::Add

*/ Add(32774), /** *

Representing Qt3DRender::QBlendEquation::Subtract

*/ Subtract(32778), /** *

Representing Qt3DRender::QBlendEquation::ReverseSubtract

*/ ReverseSubtract(32779), /** *

Representing Qt3DRender::QBlendEquation::Min

*/ Min(32775), /** *

Representing Qt3DRender::QBlendEquation::Max

*/ Max(32776); static { QtJambi_LibraryUtilities.initialize(); } private BlendFunction(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 BlendFunction resolve(int value) { switch (value) { case 32774: return Add; case 32778: return Subtract; case 32779: return ReverseSubtract; case 32775: return Min; case 32776: return Max; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See Qt3DRender::QBlendEquation::blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction)

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

See Qt3DRender::QBlendEquation::QBlendEquation(Qt3DCore::QNode*)

* @param parent */ @SuppressWarnings({"exports"}) public QBlendEquation(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QBlendEquation instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QBlendEquation::blendFunction()const

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

See Qt3DRender::QBlendEquation::setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction)

* @param blendFunction */ @QtPropertyWriter(name="blendFunction") public final void setBlendFunction(io.qt.qt3d.render.QBlendEquation.@NonNull BlendFunction blendFunction){ setBlendFunction_native_Qt3DRender_QBlendEquation_BlendFunction(QtJambi_LibraryUtilities.internal.nativeId(this), blendFunction.value()); } private native void setBlendFunction_native_Qt3DRender_QBlendEquation_BlendFunction(long __this__nativeId, int blendFunction); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QBlendEquation(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QBlendEquation(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QBlendEquation instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QBlendEquation(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QBlendEquation() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QBlendEquation.@NonNull BlendFunction getBlendFunction() { return blendFunction(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy