Safe Haskell | None |
---|
Graphics.GLUtil.Drawing
Description
Simplify common drawing commands.
- drawIndexedTris :: GLsizei -> IO ()
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
!