{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.VertexShader (
gl_ARB_vertex_shader
, glBindAttribLocationARB
, glDisableVertexAttribArrayARB
, glEnableVertexAttribArrayARB
, glGetActiveAttribARB
, glGetAttribLocationARB
, glGetVertexAttribPointervARB
, glGetVertexAttribdvARB
, glGetVertexAttribfvARB
, glGetVertexAttribivARB
, glVertexAttrib1dARB
, glVertexAttrib1dvARB
, glVertexAttrib1fARB
, glVertexAttrib1fvARB
, glVertexAttrib1sARB
, glVertexAttrib1svARB
, glVertexAttrib2dARB
, glVertexAttrib2dvARB
, glVertexAttrib2fARB
, glVertexAttrib2fvARB
, glVertexAttrib2sARB
, glVertexAttrib2svARB
, glVertexAttrib3dARB
, glVertexAttrib3dvARB
, glVertexAttrib3fARB
, glVertexAttrib3fvARB
, glVertexAttrib3sARB
, glVertexAttrib3svARB
, glVertexAttrib4NbvARB
, glVertexAttrib4NivARB
, glVertexAttrib4NsvARB
, glVertexAttrib4NubARB
, glVertexAttrib4NubvARB
, glVertexAttrib4NuivARB
, glVertexAttrib4NusvARB
, glVertexAttrib4bvARB
, glVertexAttrib4dARB
, glVertexAttrib4dvARB
, glVertexAttrib4fARB
, glVertexAttrib4fvARB
, glVertexAttrib4ivARB
, glVertexAttrib4sARB
, glVertexAttrib4svARB
, glVertexAttrib4ubvARB
, glVertexAttrib4uivARB
, glVertexAttrib4usvARB
, glVertexAttribPointerARB
, pattern GL_CURRENT_VERTEX_ATTRIB_ARB
, pattern GL_FLOAT
, pattern GL_FLOAT_MAT2_ARB
, pattern GL_FLOAT_MAT3_ARB
, pattern GL_FLOAT_MAT4_ARB
, pattern GL_FLOAT_VEC2_ARB
, pattern GL_FLOAT_VEC3_ARB
, pattern GL_FLOAT_VEC4_ARB
, pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
, pattern GL_MAX_TEXTURE_COORDS_ARB
, pattern GL_MAX_TEXTURE_IMAGE_UNITS_ARB
, pattern GL_MAX_VARYING_FLOATS_ARB
, pattern GL_MAX_VERTEX_ATTRIBS_ARB
, pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
, pattern GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
, pattern GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
, pattern GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
, pattern GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
, pattern GL_VERTEX_PROGRAM_POINT_SIZE_ARB
, pattern GL_VERTEX_PROGRAM_TWO_SIDE_ARB
, pattern GL_VERTEX_SHADER_ARB
) 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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_ARB_vertex_shader :: Bool
gl_ARB_vertex_shader :: Bool
gl_ARB_vertex_shader = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_vertex_shader" Set [Char]
extensions
{-# NOINLINE gl_ARB_vertex_shader #-}
glBindAttribLocationARB :: MonadIO m => GLhandleARB -> GLuint -> Ptr GLcharARB -> m ()
glBindAttribLocationARB :: GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> m ()
glBindAttribLocationARB = FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ())
-> GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ())
-> GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> m ()
ffihandleARBuintPtrcharARBIOV FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ())
glBindAttribLocationARBFunPtr
glBindAttribLocationARBFunPtr :: FunPtr (GLhandleARB -> GLuint -> Ptr GLcharARB -> IO ())
glBindAttribLocationARBFunPtr :: FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ())
glBindAttribLocationARBFunPtr = IO (FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ()))
-> FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLhandleARB -> GLhandleARB -> Ptr GLcharARB -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBindAttribLocationARB")
{-# NOINLINE glBindAttribLocationARBFunPtr #-}
glGetActiveAttribARB :: MonadIO m => GLhandleARB -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLcharARB -> m ()
glGetActiveAttribARB :: GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> m ()
glGetActiveAttribARB = FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ())
-> GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ())
-> GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> m ()
ffihandleARBuintsizeiPtrsizeiPtrintPtrenumPtrcharARBIOV FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ())
glGetActiveAttribARBFunPtr
glGetActiveAttribARBFunPtr :: FunPtr (GLhandleARB -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLcharARB -> IO ())
glGetActiveAttribARBFunPtr :: FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ())
glGetActiveAttribARBFunPtr = IO
(FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ()))
-> FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLhandleARB
-> GLhandleARB
-> GLsizei
-> Ptr GLsizei
-> Ptr GLsizei
-> Ptr GLhandleARB
-> Ptr GLcharARB
-> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetActiveAttribARB")
{-# NOINLINE glGetActiveAttribARBFunPtr #-}
glGetAttribLocationARB :: MonadIO m => GLhandleARB -> Ptr GLcharARB -> m GLint
glGetAttribLocationARB :: GLhandleARB -> Ptr GLcharARB -> m GLsizei
glGetAttribLocationARB = FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei)
-> GLhandleARB -> Ptr GLcharARB -> m GLsizei
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei)
-> GLhandleARB -> Ptr GLcharARB -> m GLsizei
ffihandleARBPtrcharARBIOint FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei)
glGetAttribLocationARBFunPtr
glGetAttribLocationARBFunPtr :: FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLint)
glGetAttribLocationARBFunPtr :: FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei)
glGetAttribLocationARBFunPtr = IO (FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei))
-> FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei)
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLhandleARB -> Ptr GLcharARB -> IO GLsizei))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetAttribLocationARB")
{-# NOINLINE glGetAttribLocationARBFunPtr #-}
pattern $bGL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB :: a
$mGL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D
pattern $bGL_MAX_VARYING_FLOATS_ARB :: a
$mGL_MAX_VARYING_FLOATS_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_VARYING_FLOATS_ARB = 0x8B4B
pattern $bGL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB :: a
$mGL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A
pattern $bGL_OBJECT_ACTIVE_ATTRIBUTES_ARB :: a
$mGL_OBJECT_ACTIVE_ATTRIBUTES_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89
pattern $bGL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB :: a
$mGL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A
pattern $bGL_VERTEX_SHADER_ARB :: a
$mGL_VERTEX_SHADER_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_SHADER_ARB = 0x8B31