gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.MultiDrawIndirect

Contents

Synopsis

Extension Support

gl_ARB_multi_draw_indirect :: Bool Source #

Checks that the GL_ARB_multi_draw_indirect extension is available.

GL_ARB_multi_draw_indirect

glMultiDrawArraysIndirect :: MonadIO m => GLenum -> Ptr () -> GLsizei -> GLsizei -> m () Source #

Usage: glMultiDrawArraysIndirect mode indirect drawcount stride

The length of indirect should be COMPSIZE(drawcount,stride).

Manual page: https://www.opengl.org/sdk/docs/man/html/glMultiDrawArraysIndirect.xhtml

glMultiDrawElementsIndirect :: MonadIO m => GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m () Source #

Usage: glMultiDrawElementsIndirect mode type indirect drawcount stride

The length of indirect should be COMPSIZE(drawcount,stride).

Manual page: https://www.opengl.org/sdk/docs/man/html/glMultiDrawElementsIndirect.xhtml