public static final class PolygonBucket.Renderer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLIP_BIT |
| Modifier and Type | Method and Description |
|---|---|
static void |
clip(GLMatrix mvp,
int clipMode) |
static RenderBucket |
draw(RenderBucket buckets,
GLViewport v,
float div,
boolean first)
draw polygon buckets (until bucket.next is not polygon bucket)
using stencil buffer method
|
static void |
drawOver(GLMatrix mvp,
int color,
float alpha)
Clear stencilbuffer for a tile region by drawing
a quad with func 'always' and op 'zero'.
|
public static final int CLIP_BIT
public static RenderBucket draw(RenderBucket buckets, GLViewport v, float div, boolean first)
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 regionpublic static void clip(GLMatrix mvp, int clipMode)
public static void drawOver(GLMatrix mvp, int color, float alpha)