{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.OES.DrawElementsBaseVertex (
gl_OES_draw_elements_base_vertex
, glDrawElementsBaseVertexOES
, glDrawElementsInstancedBaseVertexOES
, glDrawRangeElementsBaseVertexOES
, glMultiDrawElementsBaseVertexOES
) 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_OES_draw_elements_base_vertex :: Bool
gl_OES_draw_elements_base_vertex :: Bool
gl_OES_draw_elements_base_vertex = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_OES_draw_elements_base_vertex" Set [Char]
extensions
{-# NOINLINE gl_OES_draw_elements_base_vertex #-}
glDrawElementsBaseVertexOES :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLint -> m ()
glDrawElementsBaseVertexOES :: GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m ()
glDrawElementsBaseVertexOES = FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ())
-> GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ())
-> GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m ()
ffienumsizeienumPtrVintIOV FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ())
glDrawElementsBaseVertexOESFunPtr
glDrawElementsBaseVertexOESFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLint -> IO ())
glDrawElementsBaseVertexOESFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ())
glDrawElementsBaseVertexOESFunPtr = IO
(FunPtr
(GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ()))
-> FunPtr
(GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawElementsBaseVertexOES")
{-# NOINLINE glDrawElementsBaseVertexOESFunPtr #-}
glDrawElementsInstancedBaseVertexOES :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> m ()
glDrawElementsInstancedBaseVertexOES :: GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> m ()
glDrawElementsInstancedBaseVertexOES = FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> GLsizei
-> m ()
ffienumsizeienumPtrVsizeiintIOV FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glDrawElementsInstancedBaseVertexOESFunPtr
glDrawElementsInstancedBaseVertexOESFunPtr :: FunPtr (GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> IO ())
glDrawElementsInstancedBaseVertexOESFunPtr :: FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
glDrawElementsInstancedBaseVertexOESFunPtr = IO
(FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
-> FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawElementsInstancedBaseVertexOES")
{-# NOINLINE glDrawElementsInstancedBaseVertexOESFunPtr #-}
glDrawRangeElementsBaseVertexOES :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> GLint -> m ()
glDrawRangeElementsBaseVertexOES :: GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> m ()
glDrawRangeElementsBaseVertexOES = FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ())
-> GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> m ()
ffienumuintuintsizeienumPtrVintIOV FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ())
glDrawRangeElementsBaseVertexOESFunPtr
glDrawRangeElementsBaseVertexOESFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> GLint -> IO ())
glDrawRangeElementsBaseVertexOESFunPtr :: FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ())
glDrawRangeElementsBaseVertexOESFunPtr = IO
(FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ()))
-> FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> GLenum
-> GLenum
-> GLsizei
-> GLenum
-> Ptr ()
-> GLsizei
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawRangeElementsBaseVertexOES")
{-# NOINLINE glDrawRangeElementsBaseVertexOESFunPtr #-}
glMultiDrawElementsBaseVertexOES :: MonadIO m => GLenum -> Ptr GLsizei -> GLenum -> Ptr (Ptr ()) -> GLsizei -> Ptr GLint -> m ()
glMultiDrawElementsBaseVertexOES :: GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> m ()
glMultiDrawElementsBaseVertexOES = FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ())
-> GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ())
-> GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> m ()
ffienumPtrsizeienumPtrPtrVsizeiPtrintIOV FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ())
glMultiDrawElementsBaseVertexOESFunPtr
glMultiDrawElementsBaseVertexOESFunPtr :: FunPtr (GLenum -> Ptr GLsizei -> GLenum -> Ptr (Ptr ()) -> GLsizei -> Ptr GLint -> IO ())
glMultiDrawElementsBaseVertexOESFunPtr :: FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ())
glMultiDrawElementsBaseVertexOESFunPtr = IO
(FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ()))
-> FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum
-> Ptr GLsizei
-> GLenum
-> Ptr (Ptr ())
-> GLsizei
-> Ptr GLsizei
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glMultiDrawElementsBaseVertexOES")
{-# NOINLINE glMultiDrawElementsBaseVertexOESFunPtr #-}