type static
Phantom type for static index arrays
| 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.
type static
type dynamic
type 'a t
val static : (module RenderTarget.T with type t = 'a) -> 'a -> Source.t -> static t
val dynamic : (module RenderTarget.T with type t = 'a) -> 'a -> Source.t -> dynamic t
val rebuild : dynamic t -> Source.t -> int -> unit
rebuild array src offset rebuilds array starting from the index at position offset using src .val length : 'a t -> int