{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.AMD.MultiDrawIndirect (
gl_AMD_multi_draw_indirect
, glMultiDrawArraysIndirectAMD
, glMultiDrawElementsIndirectAMD
) 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_AMD_multi_draw_indirect :: Bool
gl_AMD_multi_draw_indirect :: Bool
gl_AMD_multi_draw_indirect = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_AMD_multi_draw_indirect" Set [Char]
extensions
{-# NOINLINE gl_AMD_multi_draw_indirect #-}
glMultiDrawArraysIndirectAMD :: MonadIO m => GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawArraysIndirectAMD :: GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawArraysIndirectAMD = FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
ffienumPtrVsizeisizeiIOV FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectAMDFunPtr
glMultiDrawArraysIndirectAMDFunPtr :: FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectAMDFunPtr :: FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawArraysIndirectAMDFunPtr = IO (FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
-> FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMultiDrawArraysIndirectAMD")
{-# NOINLINE glMultiDrawArraysIndirectAMDFunPtr #-}
glMultiDrawElementsIndirectAMD :: MonadIO m => GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawElementsIndirectAMD :: GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glMultiDrawElementsIndirectAMD = FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
ffienumenumPtrVsizeisizeiIOV FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawElementsIndirectAMDFunPtr
glMultiDrawElementsIndirectAMDFunPtr :: FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawElementsIndirectAMDFunPtr :: FunPtr (GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glMultiDrawElementsIndirectAMDFunPtr = IO
(FunPtr
(GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
-> FunPtr
(GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMultiDrawElementsIndirectAMD")
{-# NOINLINE glMultiDrawElementsIndirectAMDFunPtr #-}