Class VBOBufferLoaderForPolygonsPrimitiveRestart

java.lang.Object
org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoaderForPolygonsPrimitiveRestart
All Implemented Interfaces:
IGLLoader<DrawableVBO2>

public class VBOBufferLoaderForPolygonsPrimitiveRestart extends VBOBufferLoader implements IGLLoader<DrawableVBO2>
===================== WIP / Not working yet ===================== Limitations of primitive restart are discussed here : https://community.khronos.org/t/using-glprimitiverestartindex-to-declare-multiple-geometries-in-the-same-vbo/107810/13 A utility class to build buffers to feed a DrawableVBO2 using Primitive restart.
Author:
Martin Pernollet
  • Field Details

    • polygons

      protected List<Polygon> polygons
    • pointsPerPolygon

      protected int pointsPerPolygon
  • Constructor Details

    • VBOBufferLoaderForPolygonsPrimitiveRestart

      public VBOBufferLoaderForPolygonsPrimitiveRestart(List<Polygon> polygons, int pointsPerPolygon)
  • Method Details