Module Osg.Primitive_set


module Primitive_set: sig .. end
Set of primitives to draw in Osg.Geometry. Primitive set are added using Osg.Geometry.add_primitive_set or by using Osg.Geometry.create with ~primitive_sets list.


type mode =
| POINTS (*GL_POINTS*)
| LINES (*GL_LINES*)
| LINE_STRIP (*GL_LINE_STRIP*)
| LINE_LOOP (*GL_LINE_LOOP*)
| TRIANGLES (*GL_TRIANGLES*)
| TRIANGLE_STRIP (*GL_TRIANGLE_STRIP*)
| TRIANGLE_FAN (*GL_TRIANGLE_FAN*)
| QUADS (*GL_QUADS*)
| QUAD_STRIP (*GL_QUAD_STRIP*)
| POLYGON (*GL_POLYGON*)
mode
type t 
osg::PrimitiveSet holder.