public class VertexArrayObject extends GL3ResourceBase
| Constructor and Description |
|---|
VertexArrayObject(int vao) |
| Modifier and Type | Method and Description |
|---|---|
VertexArrayObject |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bind(com.jogamp.opengl.GL3 gl) |
static void |
bindDefault(com.jogamp.opengl.GL3 gl) |
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
static VertexArrayObject |
generate(com.jogamp.opengl.GL3 gl) |
static VertexArrayObject |
getDefault() |
boolean |
isBound() |
boolean |
isDisposed()
Returns true if resource has been disposed
|
void |
unbind(com.jogamp.opengl.GL3 gl) |
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeisValidacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidacquireAndCount, getReferenceCount, release, releaseAndCountpublic static VertexArrayObject getDefault()
public static void bindDefault(com.jogamp.opengl.GL3 gl)
public void bind(com.jogamp.opengl.GL3 gl)
public void unbind(com.jogamp.opengl.GL3 gl)
public boolean isBound()
public void dispose(com.jogamp.opengl.GL3 gl)
GL3Resourcedispose in interface GL3Resourcedispose in class GL3ResourceBasegl - active contextpublic boolean isDisposed()
GLResourceisDisposed in interface GLResourceisDisposed in class GLResourceBasepublic VertexArrayObject acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3ResourceBasepublic static VertexArrayObject generate(com.jogamp.opengl.GL3 gl)