{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BaseInstance (
gl_EXT_base_instance
, glDrawArraysInstancedBaseInstanceEXT
, glDrawElementsInstancedBaseInstanceEXT
, glDrawElementsInstancedBaseVertexBaseInstanceEXT
) 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_base_instance :: Bool
gl_EXT_base_instance :: Bool
gl_EXT_base_instance = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_base_instance" Set [Char]
extensions
{-# NOINLINE gl_EXT_base_instance #-}
glDrawArraysInstancedBaseInstanceEXT :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> GLuint -> m ()
glDrawArraysInstancedBaseInstanceEXT :: GLenum -> GLint -> GLint -> GLint -> GLenum -> m ()
glDrawArraysInstancedBaseInstanceEXT = FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ())
-> GLenum -> GLint -> GLint -> GLint -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ())
-> GLenum -> GLint -> GLint -> GLint -> GLenum -> m ()
ffienumintsizeisizeiuintIOV FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ())
glDrawArraysInstancedBaseInstanceEXTFunPtr
glDrawArraysInstancedBaseInstanceEXTFunPtr :: FunPtr (GLenum -> GLint -> GLsizei -> GLsizei -> GLuint -> IO ())
glDrawArraysInstancedBaseInstanceEXTFunPtr :: FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ())
glDrawArraysInstancedBaseInstanceEXTFunPtr = IO (FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLenum -> GLint -> GLint -> GLint -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawArraysInstancedBaseInstanceEXT")
{-# NOINLINE glDrawArraysInstancedBaseInstanceEXTFunPtr #-}
glDrawElementsInstancedBaseInstanceEXT :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLuint -> m ()
glDrawElementsInstancedBaseInstanceEXT :: GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> m ()
glDrawElementsInstancedBaseInstanceEXT = FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ())
-> GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ())
-> GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> m ()
ffienumsizeienumPtrVsizeiuintIOV FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ())
glDrawElementsInstancedBaseInstanceEXTFunPtr
glDrawElementsInstancedBaseInstanceEXTFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLuint -> IO ())
glDrawElementsInstancedBaseInstanceEXTFunPtr :: FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ())
glDrawElementsInstancedBaseInstanceEXTFunPtr = IO
(FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ()))
-> FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLint -> GLenum -> Ptr () -> GLint -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawElementsInstancedBaseInstanceEXT")
{-# NOINLINE glDrawElementsInstancedBaseInstanceEXTFunPtr #-}
glDrawElementsInstancedBaseVertexBaseInstanceEXT :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> GLuint -> m ()
glDrawElementsInstancedBaseVertexBaseInstanceEXT :: GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> m ()
glDrawElementsInstancedBaseVertexBaseInstanceEXT = FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ())
-> GLenum
-> GLint
-> GLenum
-> Ptr ()
-> GLint
-> GLint
-> GLenum
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ())
-> GLenum
-> GLint
-> GLenum
-> Ptr ()
-> GLint
-> GLint
-> GLenum
-> m ()
ffienumsizeienumPtrVsizeiintuintIOV FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ())
glDrawElementsInstancedBaseVertexBaseInstanceEXTFunPtr
glDrawElementsInstancedBaseVertexBaseInstanceEXTFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> GLuint -> IO ())
glDrawElementsInstancedBaseVertexBaseInstanceEXTFunPtr :: FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ())
glDrawElementsInstancedBaseVertexBaseInstanceEXTFunPtr = IO
(FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ()))
-> FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLint -> GLenum -> Ptr () -> GLint -> GLint -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawElementsInstancedBaseVertexBaseInstanceEXT")
{-# NOINLINE glDrawElementsInstancedBaseVertexBaseInstanceEXTFunPtr #-}