public class GL3RenderObjectPoints extends GL3ResourceBase
| Modifier and Type | Method and Description |
|---|---|
GL3RenderObjectPoints |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bind(com.jogamp.opengl.GL3 gl)
Bind attributes to the VAO to prepare for drawing
|
void |
bindInstanced(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int offset) |
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3Object point,
int gidx) |
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3Object point,
int gidx,
int offset,
int count) |
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx) |
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int offset,
int count) |
void |
drawPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx) |
void |
drawPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count) |
static GL3RenderObjectPoints |
generate(com.jogamp.opengl.GL3 gl,
GL3PointsVertexBuffer pointVBO,
GL3SharedRenderObjectPoints points) |
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,
RenderObject robj) |
void |
setRadius(com.jogamp.opengl.GL3 gl,
float rad) |
void |
unbind(com.jogamp.opengl.GL3 gl) |
void |
unbindInstanced(com.jogamp.opengl.GL3 gl,
int gidx) |
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic void bind(com.jogamp.opengl.GL3 gl)
public void unbind(com.jogamp.opengl.GL3 gl)
public void bindInstanced(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int offset)
public void unbindInstanced(com.jogamp.opengl.GL3 gl,
int gidx)
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 GL3RenderObjectPoints acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3ResourceBasepublic boolean maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderObject robj)
public void setRadius(com.jogamp.opengl.GL3 gl,
float rad)
public void drawPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx)
public void drawPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int offset,
int count)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3Object point,
int gidx)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
GL3Object point,
int gidx,
int offset,
int count)
public static GL3RenderObjectPoints generate(com.jogamp.opengl.GL3 gl, GL3PointsVertexBuffer pointVBO, GL3SharedRenderObjectPoints points)