Class PolygonBucket


public final class PolygonBucket extends RenderBucket
Special Renderer for drawing tile polygons using the stencil buffer method
  • Field Details

  • Method Details

    • addPolygon

      public void addPolygon(GeometryBuffer geom)
    • addPolygon

      public void addPolygon(float[] points, int[] index)
    • prepare

      protected void prepare()
      Description copied from class: RenderBucket
      Final preparation of content before compilation for stuff that should not be done on render-thread.
      Overrides:
      prepare in class RenderBucket
    • compile

      protected void compile(ShortBuffer vboData, ShortBuffer iboData)
      Overrides:
      compile in class RenderBucket