Package org.oscim.renderer.bucket
Class PolygonBucket
java.lang.Object
org.oscim.utils.pool.Inlist<RenderBucket>
org.oscim.renderer.bucket.RenderBucket
org.oscim.renderer.bucket.PolygonBucket
Special Renderer for drawing tile polygons using the stencil buffer method
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.oscim.utils.pool.Inlist
Inlist.List<T extends Inlist<?>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic booleanFields inherited from class org.oscim.renderer.bucket.RenderBucket
BITMAP, CIRCLE, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SYMBOL, TEXLINE, type, vertexItems, vertexOffset -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPolygon(float[] points, int[] index) voidaddPolygon(GeometryBuffer geom) protected voidcompile(ShortBuffer vboData, ShortBuffer iboData) protected voidprepare()Final preparation of content before compilation for stuff that should not be done on render-thread.Methods inherited from class org.oscim.renderer.bucket.RenderBucket
clear, compileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, setLevel, setVertexOffsetMethods inherited from class org.oscim.utils.pool.Inlist
appendItem, appendList, get, last, next, prependRelative, push, remove, size
-
Field Details
-
CLIP_STENCIL
public static final int CLIP_STENCIL- See Also:
-
CLIP_DEPTH
public static final int CLIP_DEPTH- See Also:
-
CLIP_TEST_DEPTH
public static final int CLIP_TEST_DEPTH- See Also:
-
enableTexture
public static boolean enableTexture -
area
-
-
Method Details
-
addPolygon
-
addPolygon
public void addPolygon(float[] points, int[] index) -
prepare
protected void prepare()Description copied from class:RenderBucketFinal preparation of content before compilation for stuff that should not be done on render-thread.- Overrides:
preparein classRenderBucket
-
compile
- Overrides:
compilein classRenderBucket
-