public class GL3SharedRenderObjectPoints extends GL3SharedRenderObjectBase
| Constructor and Description |
|---|
GL3SharedRenderObjectPoints(RenderObject r,
GL3VertexAttributeInfo posAttribute,
GL3VertexAttributeInfo nrmAttribute,
GL3VertexAttributeInfo clrAttribute,
GL3VertexAttributeInfo texAttribute,
GL3VertexAttributeInfo pposAttr,
GL3VertexAttributeInfo pclrAttr,
VertexBufferObject staticVBO,
VertexBufferObject dynamicVBO) |
| Modifier and Type | Method and Description |
|---|---|
GL3SharedRenderObjectPoints |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx) |
void |
bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx,
int offset) |
void |
drawInstancedPoints(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx) |
void |
drawInstancedPoints(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int count) |
void |
drawPoints(com.jogamp.opengl.GL3 gl,
int mode,
int gidx) |
void |
drawPoints(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count) |
static GL3SharedRenderObjectPoints |
generate(com.jogamp.opengl.GL3 gl,
RenderObject robj,
GL3VertexAttributeInfo position,
GL3VertexAttributeInfo normal,
GL3VertexAttributeInfo color,
GL3VertexAttributeInfo texcoord,
GL3VertexAttributeInfo pointpos,
GL3VertexAttributeInfo pointclr) |
boolean |
isValid()
Returns true if resource can be used (i.e.
|
boolean |
maybeUpdate(com.jogamp.opengl.GL3 gl,
RenderObject robj)
Potentially update the internal VBOs
|
int |
numPointGroups() |
int |
numPoints(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 GL3SharedRenderObjectPoints(RenderObject r, GL3VertexAttributeInfo posAttribute, GL3VertexAttributeInfo nrmAttribute, GL3VertexAttributeInfo clrAttribute, GL3VertexAttributeInfo texAttribute, GL3VertexAttributeInfo pposAttr, GL3VertexAttributeInfo pclrAttr, VertexBufferObject staticVBO, VertexBufferObject dynamicVBO)
public 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 numPointGroups()
public int numPoints(int gidx)
public void bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx)
public void bindInstancedVertices(com.jogamp.opengl.GL3 gl,
int gidx,
int offset)
public GL3SharedRenderObjectPoints acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3SharedRenderObjectBasepublic void drawPoints(com.jogamp.opengl.GL3 gl,
int mode,
int gidx)
public void drawPoints(com.jogamp.opengl.GL3 gl,
int mode,
int gidx,
int offset,
int count)
public void drawInstancedPoints(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx)
public void drawInstancedPoints(com.jogamp.opengl.GL3 gl,
GL3SharedObject point,
int gidx,
int count)
public static GL3SharedRenderObjectPoints generate(com.jogamp.opengl.GL3 gl, RenderObject robj, GL3VertexAttributeInfo position, GL3VertexAttributeInfo normal, GL3VertexAttributeInfo color, GL3VertexAttributeInfo texcoord, GL3VertexAttributeInfo pointpos, GL3VertexAttributeInfo pointclr)