protected static class RectangularTessellator.RenderInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
density |
protected java.nio.IntBuffer |
indices |
protected boolean |
isVboBound |
protected Vec4 |
referenceCenter |
protected java.nio.FloatBuffer |
texCoords |
protected long |
time |
protected java.lang.Object |
vboCacheKey |
protected java.nio.FloatBuffer |
vertices |
Modifier | Constructor and Description |
---|---|
protected |
RenderInfo(DrawContext dc,
int density,
java.nio.FloatBuffer vertices,
Vec4 refCenter) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillVerticesVBO(DrawContext dc) |
int |
getDensity() |
java.nio.IntBuffer |
getIndices() |
Vec4 |
getReferenceCenter() |
protected long |
getSizeInBytes() |
java.nio.FloatBuffer |
getTexCoords() |
long |
getTime() |
java.lang.Object |
getVboCacheKey() |
java.nio.FloatBuffer |
getVertices() |
boolean |
isVboBound() |
protected void |
update(DrawContext dc)
Resets this instance's update time to now and refills its VBO if VBOs should be used.
|
protected final int density
protected final java.nio.IntBuffer indices
protected boolean isVboBound
protected final Vec4 referenceCenter
protected final java.nio.FloatBuffer texCoords
protected long time
protected java.lang.Object vboCacheKey
protected final java.nio.FloatBuffer vertices
protected RenderInfo(DrawContext dc, int density, java.nio.FloatBuffer vertices, Vec4 refCenter)
protected void fillVerticesVBO(DrawContext dc)
public int getDensity()
public java.nio.IntBuffer getIndices()
public Vec4 getReferenceCenter()
protected long getSizeInBytes()
public java.nio.FloatBuffer getTexCoords()
public long getTime()
public java.lang.Object getVboCacheKey()
public java.nio.FloatBuffer getVertices()
public boolean isVboBound()
protected void update(DrawContext dc)
dc
- the current draw context.