Is the ARB_draw_instanced extension supported?
ModuleOpenGLRaw-3.3.4.1Haskell2010
Graphics.GL.ARB.DrawInstanced
Contents
Synopsis
- value glGetARBDrawInstanced
- value gl_ARB_draw_instanced
- value glDrawArraysInstancedARB
- value glDrawElementsInstancedARB
- PackageOpenGLRaw-3.3.4.1
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceExtensionPredicates.hs
Extension Support
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
This command is an alias for glDrawArraysInstanced.
value
glDrawElementsInstancedARB :: MonadIO m=> GLenummodeof type PrimitiveType.-> GLsizeicount.-> GLenumtypeof type DrawElementsType.-> Ptr aindicespointing toCOMPSIZE(count,type)elements of typea.-> GLsizeiprimcount.-> m ()
This command is an alias for glDrawElementsInstanced.