Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBDrawElementsBaseVertex :: MonadIO m => m Bool
- gl_ARB_draw_elements_base_vertex :: Bool
- glDrawElementsBaseVertex :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLint -> m ()
- glDrawElementsInstancedBaseVertex :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLsizei -> GLint -> m ()
- glDrawRangeElementsBaseVertex :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr a -> GLint -> m ()
- glMultiDrawElementsBaseVertex :: MonadIO m => GLenum -> Ptr GLsizei -> GLenum -> Ptr (Ptr a) -> GLsizei -> Ptr GLint -> m ()
Extension Support
glGetARBDrawElementsBaseVertex :: MonadIO m => m Bool Source
Is the ARB_draw_elements_base_vertex extension supported?
gl_ARB_draw_elements_base_vertex :: Bool Source
Is the ARB_draw_elements_base_vertex extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBDrawElementsBaseVertex
in those cases instead.
Functions
glDrawElementsBaseVertex Source
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLint |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
glDrawElementsInstancedBaseVertex Source
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLsizei |
|
-> GLint |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
glDrawRangeElementsBaseVertex Source
:: MonadIO m | |
=> GLenum |
|
-> GLuint |
|
-> GLuint |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLint |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.
glMultiDrawElementsBaseVertex Source
:: MonadIO m | |
=> GLenum |
|
-> Ptr GLsizei |
|
-> GLenum |
|
-> Ptr (Ptr a) |
|
-> GLsizei |
|
-> Ptr GLint |
|
-> m () |
Manual pages for OpenGL 3.x or OpenGL 4.x.