public class GL3SharedRenderObjectPrimitives extends GL3SharedRenderObjectVertices
| Modifier and Type | Method and Description |
|---|---|
GL3SharedRenderObjectPrimitives |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bindIndices(com.jogamp.opengl.GL3 gl) |
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
void |
drawInstancedLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount) |
void |
drawInstancedLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount) |
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount) |
void |
drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount) |
void |
drawInstancedTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount) |
void |
drawInstancedTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount) |
void |
drawLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx) |
void |
drawLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
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) |
void |
drawTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx) |
void |
drawTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count) |
static GL3SharedRenderObjectPrimitives |
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) |
drawElements, drawInstancedElements, drawVerticesbindVertices, 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)
maybeUpdate in class GL3SharedRenderObjectVerticespublic boolean isValid()
GLResourceisValid in interface GLResourceisValid in class GL3SharedRenderObjectVerticestrue if the resource can be usedpublic void dispose(com.jogamp.opengl.GL3 gl)
GL3Resourcedispose in interface GL3Resourcedispose in class GL3SharedRenderObjectVerticesgl - active contextpublic void bindIndices(com.jogamp.opengl.GL3 gl)
public GL3SharedRenderObjectPrimitives acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3SharedRenderObjectVerticespublic 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 drawLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx)
public void drawLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count)
public void drawTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx)
public void drawTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount)
public void drawInstancedPointGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount)
public void drawInstancedLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount)
public void drawInstancedLineGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount)
public void drawInstancedTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int instanceCount)
public void drawInstancedTriangleGroup(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count,
int instanceCount)
public static GL3SharedRenderObjectPrimitives generate(com.jogamp.opengl.GL3 gl, RenderObject robj, GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord)