| Copyright | (c) Sven Panne 2015 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.Rendering.OpenGL.Raw.EXT.DrawInstanced
Contents
Description
- glGetEXTDrawInstanced :: MonadIO m => m Bool
- gl_EXT_draw_instanced :: Bool
- glDrawArraysInstancedEXT :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m ()
- glDrawElementsInstancedEXT :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr a -> GLsizei -> m ()
Extension Support
glGetEXTDrawInstanced :: MonadIO m => m Bool
Is the EXT_draw_instanced extension supported?
Is the EXT_draw_instanced extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetEXTDrawInstanced in those cases instead.
Functions
Arguments
| :: MonadIO m | |
| => GLenum |
|
| -> GLint |
|
| -> GLsizei |
|
| -> GLsizei |
|
| -> m () |
This command is an alias for glDrawArraysInstanced.
Arguments
| :: MonadIO m | |
| => GLenum |
|
| -> GLsizei |
|
| -> GLenum |
|
| -> Ptr a |
|
| -> GLsizei |
|
| -> m () |
This command is an alias for glDrawElementsInstanced.