public class ExtrusionBuckets extends MapTile.TileData
Inlist.List<T extends Inlist<?>>| Modifier and Type | Field and Description |
|---|---|
long |
animTime |
ExtrusionBucket |
buckets |
boolean |
compiled |
BufferObject |
ibo |
BufferObject |
vbo |
double |
x |
double |
y |
int |
zoomLevel |
| Constructor and Description |
|---|
ExtrusionBuckets(MapTile tile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMeshElement(GeometryBuffer element,
float groundScale,
int color)
Add mesh element to corresponding ExtrusionBucket
|
void |
addPolyElement(GeometryBuffer element,
float groundScale,
float[] colors,
int height,
int minHeight)
Add poly element to corresponding ExtrusionBucket
|
ExtrusionBucket |
buckets()
Get root bucket
|
boolean |
compile() |
protected void |
dispose() |
void |
prepare() |
void |
resetBuckets(ExtrusionBucket el)
Set new ExtrusionBuckets and clear previous.
|
nextappendItem, appendList, get, last, prependRelative, push, remove, sizepublic ExtrusionBucket buckets
public boolean compiled
public long animTime
public final int zoomLevel
public final double x
public final double y
public BufferObject ibo
public BufferObject vbo
public ExtrusionBuckets(MapTile tile)
public void addMeshElement(GeometryBuffer element, float groundScale, int color)
element - the MapElement as meshgroundScale - the scale of groundcolor - the color of elementpublic void addPolyElement(GeometryBuffer element, float groundScale, float[] colors, int height, int minHeight)
element - the MapElement as polygongroundScale - the scale of groundcolors - the colors (top, side, side, line) of elementheight - the height of extrusionminHeight - the minimum height of extrusionpublic void resetBuckets(ExtrusionBucket el)
public ExtrusionBucket buckets()
protected void dispose()
dispose in class MapTile.TileDatapublic void prepare()
public boolean compile()