
io.qt.gui.QOpenGLVertexArrayObject Maven / Gradle / Ivy
package io.qt.gui;
/**
* Wraps an OpenGL Vertex Array Object
* Java wrapper for Qt class QOpenGLVertexArrayObject
*/
public class QOpenGLVertexArrayObject extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QOpenGLVertexArrayObject.class);
/**
* QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects
* Java wrapper for Qt class QOpenGLVertexArrayObject::Binder
*/
public static class Binder extends io.qt.QtObject
implements AutoCloseable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QOpenGLVertexArrayObject::Binder::Binder(QOpenGLVertexArrayObject*)
*/
public Binder(io.qt.gui.QOpenGLVertexArrayObject v){
super((QPrivateConstructor)null);
initialize_native(this, v);
}
private native static void initialize_native(Binder instance, io.qt.gui.QOpenGLVertexArrayObject v);
/**
* See QOpenGLVertexArrayObject::Binder::rebind()
*/
@io.qt.QtUninvokable
public final void rebind(){
rebind_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void rebind_native(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::Binder::release()
*/
@io.qt.QtUninvokable
public final void release(){
release_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void release_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Binder(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public final void close(){
dispose();
}
}
/**
* Overloaded constructor for {@link #QOpenGLVertexArrayObject(io.qt.core.QObject)}
* with parent = null
.
*/
public QOpenGLVertexArrayObject() {
this((io.qt.core.QObject)null);
}
/**
* See QOpenGLVertexArrayObject::QOpenGLVertexArrayObject(QObject*)
*/
public QOpenGLVertexArrayObject(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QOpenGLVertexArrayObject instance, io.qt.core.QObject parent);
/**
* See QOpenGLVertexArrayObject::bind()
*/
@io.qt.QtUninvokable
public final void bind(){
bind_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void bind_native(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::create()
*/
@io.qt.QtUninvokable
public final boolean create(){
return create_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean create_native(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::destroy()
*/
@io.qt.QtUninvokable
public final void destroy(){
destroy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void destroy_native(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::isCreated()const
*/
@io.qt.QtUninvokable
public final boolean isCreated(){
return isCreated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isCreated_native_constfct(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::objectId()const
*/
@io.qt.QtUninvokable
public final int objectId(){
return objectId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int objectId_native_constfct(long __this__nativeId);
/**
* See QOpenGLVertexArrayObject::release()
*/
@io.qt.QtUninvokable
public final void release(){
release_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void release_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QOpenGLVertexArrayObject(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QOpenGLVertexArrayObject(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QOpenGLVertexArrayObject instance, QDeclarativeConstructor constructor);
}