public class GL3SharedRenderObjectVertices extends GL3SharedRenderObjectBase
| Modifier and Type | Method and Description |
|---|---|
GL3SharedRenderObjectPrimitives |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
void |
drawElements(com.jogamp.opengl.GL3 gl,
int mode,
int count,
int type,
int offset) |
void |
drawInstancedElements(com.jogamp.opengl.GL3 gl,
int mode,
int count,
int type,
int offset,
int instanceCount) |
void |
drawVertices(com.jogamp.opengl.GL3 gl,
int mode) |
static GL3SharedRenderObjectVertices |
generate(com.jogamp.opengl.GL3 gl,
RenderObject robj,
GL3VertexAttributeInfo position,
GL3VertexAttributeInfo normal,
GL3VertexAttributeInfo color,
GL3VertexAttributeInfo texcoord) |
boolean |
isValid()
Returns true if resource can be used (i.e.
|
boolean |
maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderObject robj) |
bindVertices, getBindVersion, getRenderObjectIdentifier, isDisposed, unbindVerticesdispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic boolean maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderObject robj)
public boolean isValid()
GLResourceisValid in interface GLResourceisValid in class GL3SharedRenderObjectBasetrue if the resource can be usedpublic void dispose(com.jogamp.opengl.GL3 gl)
GL3Resourcedispose in interface GL3Resourcedispose in class GL3SharedRenderObjectBasegl - active contextpublic GL3SharedRenderObjectPrimitives acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3SharedRenderObjectBasepublic void drawVertices(com.jogamp.opengl.GL3 gl,
int mode)
public void drawElements(com.jogamp.opengl.GL3 gl,
int mode,
int count,
int type,
int offset)
public void drawInstancedElements(com.jogamp.opengl.GL3 gl,
int mode,
int count,
int type,
int offset,
int instanceCount)
public static GL3SharedRenderObjectVertices generate(com.jogamp.opengl.GL3 gl, RenderObject robj, GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord)