public class BasicDrawableTerrain extends java.lang.Object implements DrawableTerrain
Modifier and Type | Field and Description |
---|---|
BufferObject |
elements |
Range |
lineElementRange |
Sector |
sector |
Range |
triStripElementRange |
Vec3 |
vertexOrigin |
BufferObject |
vertexPoints |
BufferObject |
vertexTexCoords |
Modifier and Type | Method and Description |
---|---|
void |
draw(DrawContext dc) |
boolean |
drawLines(DrawContext dc) |
boolean |
drawTriangles(DrawContext dc) |
Sector |
getSector() |
Vec3 |
getVertexOrigin() |
static BasicDrawableTerrain |
obtain(Pool<BasicDrawableTerrain> pool) |
void |
recycle() |
boolean |
useVertexPointAttrib(DrawContext dc,
int attribLocation) |
boolean |
useVertexTexCoordAttrib(DrawContext dc,
int attribLocation) |
public Sector sector
public Vec3 vertexOrigin
public Range lineElementRange
public Range triStripElementRange
public BufferObject vertexPoints
public BufferObject vertexTexCoords
public BufferObject elements
public static BasicDrawableTerrain obtain(Pool<BasicDrawableTerrain> pool)
public Sector getSector()
getSector
in interface DrawableTerrain
public Vec3 getVertexOrigin()
getVertexOrigin
in interface DrawableTerrain
public boolean useVertexPointAttrib(DrawContext dc, int attribLocation)
useVertexPointAttrib
in interface DrawableTerrain
public boolean useVertexTexCoordAttrib(DrawContext dc, int attribLocation)
useVertexTexCoordAttrib
in interface DrawableTerrain
public boolean drawLines(DrawContext dc)
drawLines
in interface DrawableTerrain
public boolean drawTriangles(DrawContext dc)
drawTriangles
in interface DrawableTerrain
public void draw(DrawContext dc)