Phantom type for static index arrays
Module OgamlGraphics.IndexArray
High-level wrapper around OpenGL index arraysSubmodules
Source | Represents a source of indices |
This modules provides a high-level and safe access to openGL index arrays. Index arrays can be passed to 3D rendering primitives and are used to render 3D models more efficiently.
Phantom type for dynamic index arrays
Type of an index array (static or dynamic)
Creates a static index array. A static array is faster but can not be modified after creation.
See : OgamlGraphics.IndexArray.Source
See : OgamlGraphics.IndexArray.Source
Creates a dynamic index array that can be modified after creation.
See : OgamlGraphics.IndexArray.Source
See : OgamlGraphics.IndexArray.Source
rebuild array src offset
rebuilds array
starting from the index at position offset
using src
.The index array is modified in-place and is resized as needed.
See : OgamlGraphics.IndexArray.Source
Returns the length of an index array