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 aDrawableVBO2using Primitive restart.- Author:
- Martin Pernollet
-
-
Field Summary
Fields Modifier and Type Field Description protected intpointsPerPolygonprotected List<Polygon>polygons-
Fields inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
verifyUniquePoints
-
-
Constructor Summary
Constructors Constructor Description VBOBufferLoaderForPolygonsPrimitiveRestart(List<Polygon> polygons, int pointsPerPolygon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(IPainter painter, DrawableVBO2 drawable)-
Methods inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
computeAverageNormalsForEachVertex, computeSharedNormals, computeSharedNormals, computeSimpleNormals, isVerifyUniquePoints, loadColorBufferFromArray, loadColorBufferFromColormap, loadNormalsFromArray, loadVerticesFromArray, setVerifyUniquePoints, verifyDoublons
-
-
-
-
Method Detail
-
load
public void load(IPainter painter, DrawableVBO2 drawable) throws Exception
- Specified by:
loadin interfaceIGLLoader<DrawableVBO2>- Throws:
Exception
-
-