public class GL3SharedVertexIndexArray extends GL3ResourceBase
| Modifier and Type | Field and Description |
|---|---|
int |
lastVersion |
| Constructor and Description |
|---|
GL3SharedVertexIndexArray(ElementArray ibo) |
| Modifier and Type | Method and Description |
|---|---|
GL3SharedVertexIndexArray |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bind(com.jogamp.opengl.GL3 gl) |
int |
count() |
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
static GL3SharedVertexIndexArray |
generate(com.jogamp.opengl.GL3 gl) |
boolean |
isDisposed()
Returns true if resource has been disposed
|
boolean |
isValid()
Returns true if resource can be used (i.e.
|
boolean |
maybeUpdate(com.jogamp.opengl.GL3 gl,
VertexIndexArray elements) |
int |
stride() |
int |
type() |
void |
unbind(com.jogamp.opengl.GL3 gl) |
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic GL3SharedVertexIndexArray(ElementArray ibo)
public boolean maybeUpdate(com.jogamp.opengl.GL3 gl,
VertexIndexArray elements)
public void bind(com.jogamp.opengl.GL3 gl)
public void unbind(com.jogamp.opengl.GL3 gl)
public int count()
public int type()
public int stride()
public boolean isValid()
GLResourceisValid in interface GLResourceisValid in class GLResourceBasetrue if the resource can be usedpublic 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 GL3SharedVertexIndexArray acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3ResourceBasepublic static GL3SharedVertexIndexArray generate(com.jogamp.opengl.GL3 gl)