Copyright | (c) 2015 Brian W Bush |
---|---|
License | MIT |
Maintainer | Brian W Bush <consult@brianwbush.info> |
Stability | Stable |
Portability | Portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions and types for managing shapes represented as vertex buffer objects (VBOs).
Types
Functions
:: Storable a | |
=> NumComponents | The number of components per vertex. |
-> DataType | The data type for the vertices' components. |
-> PrimitiveMode | The type of primitive. |
-> [a] | The vertices. |
-> IO () | The display action to be executed prior to rendering the shape. |
-> IO Shape | An action for the shape. |
Construct a shape.