{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.ParameterBufferObject (
gl_NV_parameter_buffer_object
, glProgramBufferParametersIivNV
, glProgramBufferParametersIuivNV
, glProgramBufferParametersfvNV
, pattern GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV
, pattern GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV
, pattern GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV
, pattern GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV
, pattern GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV
) 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_NV_parameter_buffer_object :: Bool
gl_NV_parameter_buffer_object :: Bool
gl_NV_parameter_buffer_object = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_parameter_buffer_object" Set [Char]
extensions
{-# NOINLINE gl_NV_parameter_buffer_object #-}
glProgramBufferParametersIivNV :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLint -> m ()
glProgramBufferParametersIivNV :: GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
glProgramBufferParametersIivNV = FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> m ()
ffienumuintuintsizeiPtrintIOV FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glProgramBufferParametersIivNVFunPtr
glProgramBufferParametersIivNVFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLint -> IO ())
glProgramBufferParametersIivNVFunPtr :: FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
glProgramBufferParametersIivNVFunPtr = IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
-> FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLsizei -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glProgramBufferParametersIivNV")
{-# NOINLINE glProgramBufferParametersIivNVFunPtr #-}
glProgramBufferParametersIuivNV :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLuint -> m ()
glProgramBufferParametersIuivNV :: GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> m ()
glProgramBufferParametersIuivNV = FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> m ()
ffienumuintuintsizeiPtruintIOV FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ())
glProgramBufferParametersIuivNVFunPtr
glProgramBufferParametersIuivNVFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLuint -> IO ())
glProgramBufferParametersIuivNVFunPtr :: FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ())
glProgramBufferParametersIuivNVFunPtr = IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ()))
-> FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glProgramBufferParametersIuivNV")
{-# NOINLINE glProgramBufferParametersIuivNVFunPtr #-}
glProgramBufferParametersfvNV :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLfloat -> m ()
glProgramBufferParametersfvNV :: GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
glProgramBufferParametersfvNV = FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
-> GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> m ()
ffienumuintuintsizeiPtrfloatIOV FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glProgramBufferParametersfvNVFunPtr
glProgramBufferParametersfvNVFunPtr :: FunPtr (GLenum -> GLuint -> GLuint -> GLsizei -> Ptr GLfloat -> IO ())
glProgramBufferParametersfvNVFunPtr :: FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
glProgramBufferParametersfvNVFunPtr = IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
-> FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLenum -> GLenum -> GLenum -> GLsizei -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glProgramBufferParametersfvNV")
{-# NOINLINE glProgramBufferParametersfvNVFunPtr #-}
pattern $bGL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV :: a
$mGL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4
pattern $bGL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV :: a
$mGL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3
pattern $bGL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV :: a
$mGL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0
pattern $bGL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV :: a
$mGL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1
pattern $bGL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV :: a
$mGL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2