io.qt.qt3d.render.QRenderAspect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-qt3drender Show documentation
Show all versions of qtjambi-qt3drender Show documentation
Contains classes that enable 2D and 3D rendering
package io.qt.qt3d.render;
import io.qt.*;
/**
* Class
* Java wrapper for Qt class Qt3DRender::QRenderAspect
*/
public class QRenderAspect extends io.qt.qt3d.core.QAbstractAspect
{
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(QRenderAspect.class);
/**
* Java wrapper for Qt enum Qt3DRender::QRenderAspect::RenderType
*/
@QtUnlistedEnum
public enum RenderType implements QtEnumerator {
/**
* Representing Qt3DRender:: QRenderAspect:: Synchronous
*/
Synchronous(0),
/**
* Representing Qt3DRender:: QRenderAspect:: Threaded
*/
Threaded(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private RenderType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull RenderType resolve(int value) {
switch (value) {
case 0: return Synchronous;
case 1: return Threaded;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See Qt3DRender::QRenderAspect:: QRenderAspect(QObject*)
*/
public QRenderAspect(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QRenderAspect instance, io.qt.core.QObject parent);
/**
* See Qt3DRender::QRenderAspect:: QRenderAspect(Qt3DRender::QRenderAspect::RenderType, QObject*)
*/
public QRenderAspect(io.qt.qt3d.render.QRenderAspect.@NonNull RenderType type, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, type, parent);
}
private native static void initialize_native(QRenderAspect instance, io.qt.qt3d.render.QRenderAspect.RenderType type, io.qt.core.QObject parent);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRenderAspect(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QRenderAspect(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QRenderAspect instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QRenderAspect(io.qt.core.QObject)}
* with parent = null
.
*/
public QRenderAspect() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QRenderAspect(io.qt.qt3d.render.QRenderAspect.RenderType, io.qt.core.QObject)}
* with parent = null
.
*/
public QRenderAspect(io.qt.qt3d.render.QRenderAspect.@NonNull RenderType type) {
this(type, (io.qt.core.QObject)null);
}
}