Safe Haskell | None |
---|---|
Language | Haskell2010 |
Simplify common drawing commands.
Synopsis
- 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
!