protected static class RectangularTessellator.RenderInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
density |
protected IntBuffer |
indices |
protected boolean |
isVboBound |
protected Vec4 |
referenceCenter |
protected FloatBuffer |
texCoords |
protected long |
time |
protected Object |
vboCacheKey |
protected FloatBuffer |
vertices |
Modifier | Constructor and Description |
---|---|
protected |
RenderInfo(DrawContext dc,
int density,
FloatBuffer vertices,
Vec4 refCenter) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillVerticesVBO(DrawContext dc) |
int |
getDensity() |
IntBuffer |
getIndices() |
Vec4 |
getReferenceCenter() |
protected long |
getSizeInBytes() |
FloatBuffer |
getTexCoords() |
long |
getTime() |
Object |
getVboCacheKey() |
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 IntBuffer indices
protected boolean isVboBound
protected final Vec4 referenceCenter
protected final FloatBuffer texCoords
protected long time
protected Object vboCacheKey
protected final FloatBuffer vertices
protected RenderInfo(DrawContext dc, int density, FloatBuffer vertices, Vec4 refCenter)
protected void fillVerticesVBO(DrawContext dc)
public int getDensity()
public IntBuffer getIndices()
public Vec4 getReferenceCenter()
protected long getSizeInBytes()
public FloatBuffer getTexCoords()
public long getTime()
public Object getVboCacheKey()
public FloatBuffer getVertices()
public boolean isVboBound()
protected void update(DrawContext dc)
dc
- the current draw context.