NASA World Wind

gov.nasa.worldwind.terrain
Class RectangularTessellator.RenderInfo

java.lang.Object
  extended by gov.nasa.worldwind.terrain.RectangularTessellator.RenderInfo
Enclosing class:
RectangularTessellator

protected static class RectangularTessellator.RenderInfo
extends Object


Field Summary
protected  int density
           
protected  IntBuffer indices
           
protected  boolean isVboBound
           
protected  Vec4 referenceCenter
           
protected  FloatBuffer texCoords
           
protected  long time
           
protected  Object vboCacheKey
           
protected  FloatBuffer vertices
           
 
Constructor Summary
protected RectangularTessellator.RenderInfo(DrawContext dc, int density, FloatBuffer vertices, Vec4 refCenter)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

density

protected final int density

indices

protected final IntBuffer indices

isVboBound

protected boolean isVboBound

referenceCenter

protected final Vec4 referenceCenter

texCoords

protected final FloatBuffer texCoords

time

protected long time

vboCacheKey

protected Object vboCacheKey

vertices

protected final FloatBuffer vertices
Constructor Detail

RectangularTessellator.RenderInfo

protected RectangularTessellator.RenderInfo(DrawContext dc,
                                            int density,
                                            FloatBuffer vertices,
                                            Vec4 refCenter)
Method Detail

fillVerticesVBO

protected void fillVerticesVBO(DrawContext dc)

getDensity

public int getDensity()

getIndices

public IntBuffer getIndices()

getReferenceCenter

public Vec4 getReferenceCenter()

getSizeInBytes

protected long getSizeInBytes()

getTexCoords

public FloatBuffer getTexCoords()

getTime

public long getTime()

getVboCacheKey

public Object getVboCacheKey()

getVertices

public FloatBuffer getVertices()

isVboBound

public boolean isVboBound()

update

protected void update(DrawContext dc)
Resets this instance's update time to now and refills its VBO if VBOs should be used.

Parameters:
dc - the current draw context.

NASA World Wind