module Graphics.GL.Ext.EXT.MultiDrawIndirect (
gl_EXT_multi_draw_indirect
, glMultiDrawArraysIndirectEXT
, glMultiDrawElementsIndirectEXT
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_multi_draw_indirect :: Bool
gl_EXT_multi_draw_indirect = member "GL_EXT_multi_draw_indirect" extensions
glMultiDrawArraysIndirectEXT :: MonadIO m => GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawArraysIndirectEXT = ffienumPtrVsizeisizeiIOV glMultiDrawArraysIndirectEXTFunPtr
glMultiDrawArraysIndirectEXTFunPtr :: FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectEXTFunPtr = unsafePerformIO (getProcAddress "glMultiDrawArraysIndirectEXT")
glMultiDrawElementsIndirectEXT :: MonadIO m => GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawElementsIndirectEXT = ffienumenumPtrVsizeisizeiIOV glMultiDrawElementsIndirectEXTFunPtr
glMultiDrawElementsIndirectEXTFunPtr :: FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawElementsIndirectEXTFunPtr = unsafePerformIO (getProcAddress "glMultiDrawElementsIndirectEXT")