{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ATI.ElementArray (
gl_ATI_element_array
, glDrawElementArrayATI
, glDrawRangeElementArrayATI
, glElementPointerATI
, pattern GL_ELEMENT_ARRAY_ATI
, pattern GL_ELEMENT_ARRAY_POINTER_ATI
, pattern GL_ELEMENT_ARRAY_TYPE_ATI
) 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_ATI_element_array :: Bool
gl_ATI_element_array :: Bool
gl_ATI_element_array = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ATI_element_array" Set [Char]
extensions
{-# NOINLINE gl_ATI_element_array #-}
glDrawElementArrayATI :: MonadIO m => GLenum -> GLsizei -> m ()
glDrawElementArrayATI :: GLenum -> GLsizei -> m ()
glDrawElementArrayATI = FunPtr (GLenum -> GLsizei -> IO ()) -> GLenum -> GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> IO ()) -> GLenum -> GLsizei -> m ()
ffienumsizeiIOV FunPtr (GLenum -> GLsizei -> IO ())
glDrawElementArrayATIFunPtr
glDrawElementArrayATIFunPtr :: FunPtr (GLenum -> GLsizei -> IO ())
glDrawElementArrayATIFunPtr :: FunPtr (GLenum -> GLsizei -> IO ())
glDrawElementArrayATIFunPtr = IO (FunPtr (GLenum -> GLsizei -> IO ()))
-> FunPtr (GLenum -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawElementArrayATI")
{-# NOINLINE glDrawElementArrayATIFunPtr #-}
glDrawRangeElementArrayATI :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> m ()
glDrawRangeElementArrayATI :: GLenum -> GLenum -> GLenum -> GLsizei -> m ()
glDrawRangeElementArrayATI = FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> m ()
ffienumuintuintsizeiIOV FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ())
glDrawRangeElementArrayATIFunPtr
glDrawRangeElementArrayATIFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> IO ())
glDrawRangeElementArrayATIFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ())
glDrawRangeElementArrayATIFunPtr = IO (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> GLenum -> GLenum -> GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glDrawRangeElementArrayATI")
{-# NOINLINE glDrawRangeElementArrayATIFunPtr #-}
glElementPointerATI :: MonadIO m => GLenum -> Ptr () -> m ()
glElementPointerATI :: GLenum -> Ptr () -> m ()
glElementPointerATI = FunPtr (GLenum -> Ptr () -> IO ()) -> GLenum -> Ptr () -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr () -> IO ()) -> GLenum -> Ptr () -> m ()
ffienumPtrVIOV FunPtr (GLenum -> Ptr () -> IO ())
glElementPointerATIFunPtr
glElementPointerATIFunPtr :: FunPtr (GLenum -> Ptr () -> IO ())
glElementPointerATIFunPtr :: FunPtr (GLenum -> Ptr () -> IO ())
glElementPointerATIFunPtr = IO (FunPtr (GLenum -> Ptr () -> IO ()))
-> FunPtr (GLenum -> Ptr () -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr () -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glElementPointerATI")
{-# NOINLINE glElementPointerATIFunPtr #-}
pattern $bGL_ELEMENT_ARRAY_ATI :: a
$mGL_ELEMENT_ARRAY_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ELEMENT_ARRAY_ATI = 0x8768
pattern $bGL_ELEMENT_ARRAY_POINTER_ATI :: a
$mGL_ELEMENT_ARRAY_POINTER_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A
pattern $bGL_ELEMENT_ARRAY_TYPE_ATI :: a
$mGL_ELEMENT_ARRAY_TYPE_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769