Package org.oscim.renderer.bucket
Class PolygonBucket.Renderer
java.lang.Object
org.oscim.renderer.bucket.PolygonBucket.Renderer
- Enclosing class:
- PolygonBucket
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic RenderBucketdraw(RenderBucket buckets, GLViewport v, float div, boolean first) draw polygon buckets (until bucket.next is not polygon bucket) using stencil buffer methodstatic voidClear stencilbuffer for a tile region by drawing a quad with func 'always' and op 'zero'.
-
Field Details
-
CLIP_BIT
public static final int CLIP_BIT- See Also:
-
-
Method Details
-
draw
draw polygon buckets (until bucket.next is not polygon bucket) using stencil buffer method- Parameters:
buckets- layer to draw (referencing vertices in current vbo)v- GLViewportdiv- scale relative to 'base scale' of the tilefirst- pass true to clear stencil buffer region- Returns:
- next layer
-
clip
-
drawOver
Clear stencilbuffer for a tile region by drawing a quad with func 'always' and op 'zero'. Using 'color' and 'alpha' to fake a fade effect.
-