io.qt.qt3d.render.QDispatchCompute Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* FrameGraph node to issue work for the compute shader on GPU
* Java wrapper for Qt class Qt3DRender::QDispatchCompute
*/
public class QDispatchCompute extends io.qt.qt3d.render.QFrameGraphNode
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDispatchCompute.class);
/**
* See Qt3DRender::QDispatchCompute:: workGroupXChanged()
*/
@QtPropertyNotify(name="workGroupX")
public final @NonNull Signal0 workGroupXChanged = new Signal0();
/**
* See Qt3DRender::QDispatchCompute:: workGroupYChanged()
*/
@QtPropertyNotify(name="workGroupY")
public final @NonNull Signal0 workGroupYChanged = new Signal0();
/**
* See Qt3DRender::QDispatchCompute:: workGroupZChanged()
*/
@QtPropertyNotify(name="workGroupZ")
public final @NonNull Signal0 workGroupZChanged = new Signal0();
/**
* See Qt3DRender::QDispatchCompute:: QDispatchCompute(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QDispatchCompute(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QDispatchCompute instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QDispatchCompute:: setWorkGroupX(int)
* @param workGroupX
*/
@QtPropertyWriter(name="workGroupX")
public final void setWorkGroupX(int workGroupX){
setWorkGroupX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), workGroupX);
}
private native void setWorkGroupX_native_int(long __this__nativeId, int workGroupX);
/**
* See Qt3DRender::QDispatchCompute:: setWorkGroupY(int)
* @param workGroupY
*/
@QtPropertyWriter(name="workGroupY")
public final void setWorkGroupY(int workGroupY){
setWorkGroupY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), workGroupY);
}
private native void setWorkGroupY_native_int(long __this__nativeId, int workGroupY);
/**
* See Qt3DRender::QDispatchCompute:: setWorkGroupZ(int)
* @param workGroupZ
*/
@QtPropertyWriter(name="workGroupZ")
public final void setWorkGroupZ(int workGroupZ){
setWorkGroupZ_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), workGroupZ);
}
private native void setWorkGroupZ_native_int(long __this__nativeId, int workGroupZ);
/**
* See Qt3DRender::QDispatchCompute:: workGroupX()const
* @return
*/
@QtPropertyReader(name="workGroupX")
@QtUninvokable
public final int workGroupX(){
return workGroupX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int workGroupX_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QDispatchCompute:: workGroupY()const
* @return
*/
@QtPropertyReader(name="workGroupY")
@QtUninvokable
public final int workGroupY(){
return workGroupY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int workGroupY_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QDispatchCompute:: workGroupZ()const
* @return
*/
@QtPropertyReader(name="workGroupZ")
@QtUninvokable
public final int workGroupZ(){
return workGroupZ_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int workGroupZ_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDispatchCompute(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QDispatchCompute(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QDispatchCompute instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QDispatchCompute(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QDispatchCompute() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #workGroupX()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWorkGroupX() {
return workGroupX();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #workGroupY()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWorkGroupY() {
return workGroupY();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #workGroupZ()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWorkGroupZ() {
return workGroupZ();
}
}