Copyright | (c) Sven Panne 2018 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBBaseInstance :: MonadIO m => m Bool
- gl_ARB_base_instance :: Bool
- glDrawArraysInstancedBaseInstance :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> GLuint -> m ()
- glDrawElementsInstancedBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLsizei -> GLuint -> m ()
- glDrawElementsInstancedBaseVertexBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLsizei -> GLint -> GLuint -> m ()
Extension Support
glGetARBBaseInstance :: MonadIO m => m Bool Source #
Is the ARB_base_instance extension supported?
gl_ARB_base_instance :: Bool Source #
Is the ARB_base_instance extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBBaseInstance
in those cases instead.
Functions
glDrawArraysInstancedBaseInstance Source #
:: MonadIO m | |
=> GLenum |
|
-> GLint |
|
-> GLsizei |
|
-> GLsizei |
|
-> GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
glDrawElementsInstancedBaseInstance Source #
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLsizei |
|
-> GLuint |
|
-> m () |
Manual page for OpenGL 4.x.
glDrawElementsInstancedBaseVertexBaseInstance Source #
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLsizei |
|
-> GLint |
|
-> GLuint |
|
-> m () |
Manual page for OpenGL 4.x.