public class GL3RenderInstances extends GL3ResourceBase
| Modifier and Type | Method and Description |
|---|---|
GL3RenderInstances |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bindAffines(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo) |
void |
bindFrames(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
Bind frame attributes to the VAO to prepare for drawing
|
void |
bindPoints(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
Bind points attributes to the VAO to prepare for drawing
|
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
void |
draw(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
Draw points, frames and affines (in order)
|
void |
drawAffines(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo) |
void |
drawFrames(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo) |
void |
drawPoints(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo) |
static GL3RenderInstances |
generate(com.jogamp.opengl.GL3 gl,
GL3SharedRenderInstances glinst) |
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,
RenderInstances rinst) |
void |
unbind(com.jogamp.opengl.GL3 gl) |
void |
unbindAffines(com.jogamp.opengl.GL3 gl) |
void |
unbindFrames(com.jogamp.opengl.GL3 gl)
Bind frame attributes to the VAO to prepare for drawing
|
void |
unbindPoints(com.jogamp.opengl.GL3 gl)
Bind points attributes to the VAO to prepare for drawing
|
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic void bindPoints(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
gl - context handlepublic void bindFrames(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
gl - context handlepublic void bindAffines(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
public void unbindPoints(com.jogamp.opengl.GL3 gl)
gl - context handlepublic void unbindFrames(com.jogamp.opengl.GL3 gl)
gl - context handlepublic void unbindAffines(com.jogamp.opengl.GL3 gl)
public void unbind(com.jogamp.opengl.GL3 gl)
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 boolean isValid()
GLResourceisValid in interface GLResourceisValid in class GLResourceBasetrue if the resource can be usedpublic GL3RenderInstances acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3ResourceBasepublic boolean maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderInstances rinst)
public void drawPoints(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
public void drawFrames(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
public void drawAffines(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
public void draw(com.jogamp.opengl.GL3 gl,
GL3SharedDrawable glo)
gl - context handlepublic static GL3RenderInstances generate(com.jogamp.opengl.GL3 gl, GL3SharedRenderInstances glinst)