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 Summary
Fields inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
verifyUniquePoints
-
Constructor Summary
ConstructorDescriptionVBOBufferLoaderForPolygonsPrimitiveRestart
(List<Polygon> polygons, int pointsPerPolygon) -
Method Summary
Methods inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
computeAverageNormalsForEachVertex, computeSharedNormals, computeSharedNormals, computeSimpleNormals, isVerifyUniquePoints, loadColorBufferFromArray, loadColorBufferFromColormap, loadNormalsFromArray, loadVerticesFromArray, setVerifyUniquePoints, verifyDoublons
-
Field Details
-
polygons
-
pointsPerPolygon
protected int pointsPerPolygon
-
-
Constructor Details
-
VBOBufferLoaderForPolygonsPrimitiveRestart
-
-
Method Details
-
load
- Specified by:
load
in interfaceIGLLoader<DrawableVBO2>
- Throws:
Exception
-