io.qt.qt3d.render.QRenderAspect Maven / Gradle / Ivy
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::SubmissionType
*/
@QtUnlistedEnum
public enum SubmissionType implements QtEnumerator {
/**
* Representing Qt3DRender:: QRenderAspect:: Automatic
*/
Automatic(0),
/**
* Representing Qt3DRender:: QRenderAspect:: Manual
*/
Manual(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private SubmissionType(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 SubmissionType resolve(int value) {
switch (value) {
case 0: return Automatic;
case 1: return Manual;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See Qt3DRender::QRenderAspect:: QRenderAspect(QObject*)
* @param parent
*/
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::SubmissionType, QObject*)
* @param submissionType
* @param parent
*/
public QRenderAspect(io.qt.qt3d.render.QRenderAspect.@NonNull SubmissionType submissionType, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, submissionType, parent);
}
private native static void initialize_native(QRenderAspect instance, io.qt.qt3d.render.QRenderAspect.SubmissionType submissionType, io.qt.core.QObject parent);
/**
* Function has no implementation because its native counterpart is private.
*/
@Deprecated
@QtUninvokable
@Override
public final java.util.@NonNull List dependencies() throws QNoImplementationException {
throw new QNoImplementationException();
}
/**
* 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.SubmissionType, io.qt.core.QObject)}
* with parent = null
.
*/
public QRenderAspect(io.qt.qt3d.render.QRenderAspect.@NonNull SubmissionType submissionType) {
this(submissionType, (io.qt.core.QObject)null);
}
}