public class GL3SharedRenderObjectLines extends GL3SharedRenderObjectBase
| Modifier and Type | Method and Description |
|---|---|
GL3SharedRenderObjectLines |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx,
int offset)
Bind with a line-offset (e.g.
|
void |
drawInstancedLines(com.jogamp.opengl.GL3 gl,
GL3SharedObject line,
int gidx) |
void |
drawInstancedLines(com.jogamp.opengl.GL3 gl,
GL3SharedObject line,
int gidx,
int count) |
void |
drawLines(com.jogamp.opengl.GL3 gl,
int mode,
int gidx) |
void |
drawLines(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count) |
static GL3SharedRenderObjectLines |
generate(com.jogamp.opengl.GL3 gl,
RenderObject robj,
GL3VertexAttributeInfo position,
GL3VertexAttributeInfo normal,
GL3VertexAttributeInfo color,
GL3VertexAttributeInfo texcoord,
GL3VertexAttributeInfo bpos,
GL3VertexAttributeInfo tpos,
GL3VertexAttributeInfo bclr,
GL3VertexAttributeInfo tclr) |
boolean |
isValid()
Returns true if resource can be used (i.e.
|
boolean |
maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderObject robj) |
int |
numLineGroups() |
int |
numLines(int gidx) |
bindVertices, dispose, 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 int numLineGroups()
public void bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx,
int offset)
public GL3SharedRenderObjectLines acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3SharedRenderObjectBasepublic void drawLines(com.jogamp.opengl.GL3 gl,
int mode,
int gidx)
public void drawLines(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count)
public void drawInstancedLines(com.jogamp.opengl.GL3 gl,
GL3SharedObject line,
int gidx)
public void drawInstancedLines(com.jogamp.opengl.GL3 gl,
GL3SharedObject line,
int gidx,
int count)
public static GL3SharedRenderObjectLines generate(com.jogamp.opengl.GL3 gl, RenderObject robj, GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord, GL3VertexAttributeInfo bpos, GL3VertexAttributeInfo tpos, GL3VertexAttributeInfo bclr, GL3VertexAttributeInfo tclr)
public int numLines(int gidx)