GLUtil-0.8: Miscellaneous OpenGL utilities.

Safe HaskellNone
LanguageHaskell98

Graphics.GLUtil.Drawing

Description

Simplify common drawing commands.

Synopsis

Documentation

drawIndexedTris :: GLsizei -> IO () Source

drawIndexedTris n draws n Triangles using vertex data from the currently bound ArrayBuffer and indices from the beginning of the currently bound ElementArrayBuffer. Note that there must be at least n * 3 indices in the ElementArrayBuffer!