GLUtil-0.10.4: Miscellaneous OpenGL utilities.
Safe HaskellNone
LanguageHaskell2010

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!