Copyright | (c) Sven Panne 2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- glGetARBDrawInstanced :: MonadIO m => m Bool
- gl_ARB_draw_instanced :: Bool
- glDrawArraysInstancedARB :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m ()
- glDrawElementsInstancedARB :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLsizei -> m ()
Extension Support
glGetARBDrawInstanced :: MonadIO m => m Bool Source #
Is the ARB_draw_instanced extension supported?
gl_ARB_draw_instanced :: Bool Source #
Is the ARB_draw_instanced extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBDrawInstanced
in those cases instead.
Functions
glDrawArraysInstancedARB Source #
:: MonadIO m | |
=> GLenum |
|
-> GLint |
|
-> GLsizei |
|
-> GLsizei |
|
-> m () |
This command is an alias for glDrawArraysInstanced
.
glDrawElementsInstancedARB Source #
:: MonadIO m | |
=> GLenum |
|
-> GLsizei |
|
-> GLenum |
|
-> Ptr a |
|
-> GLsizei |
|
-> m () |
This command is an alias for glDrawElementsInstanced
.