public class ExtrusionBucket extends RenderBucket
Inlist.List<T extends Inlist<?>>| Modifier and Type | Field and Description |
|---|---|
int |
color |
float[] |
colors
16 floats rgba for top, even-side, odd-sides and outline
|
int[] |
idx
indices for: 0.
|
int[] |
off
indices offsets in bytes
|
BITMAP, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SDF, SYMBOL, TEXLINE, type, vertexItems, vertexOffset| Constructor and Description |
|---|
ExtrusionBucket(int level,
float groundResolution,
float[] colors)
ExtrusionLayer for polygon geometries.
|
ExtrusionBucket(int level,
float groundResolution,
int color)
ExtrusionLayer for triangle geometries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(MapElement element) |
void |
add(MapElement element,
float height,
float minHeight) |
void |
clear()
Clear all resources.
|
void |
compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData) |
ExtrusionBucket |
next() |
protected void |
prepare()
Final preparation of content before compilation
for stuff that should not be done on render-thread.
|
compileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, setLevel, setVertexOffsetappendItem, appendList, get, last, prependRelative, push, remove, sizepublic final float[] colors
public final int color
public int[] idx
public int[] off
public ExtrusionBucket(int level,
float groundResolution,
float[] colors)
public ExtrusionBucket(int level,
float groundResolution,
int color)
public void add(MapElement element)
public void add(MapElement element, float height, float minHeight)
public void compile(java.nio.ShortBuffer vboData,
java.nio.ShortBuffer iboData)
compile in class RenderBucketpublic void clear()
RenderBucketclear in class RenderBucketprotected void prepare()
RenderBucketprepare in class RenderBucketpublic ExtrusionBucket next()
next in class Inlist<RenderBucket>