{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ARB.ColorBufferFloat (
gl_ARB_color_buffer_float
, glClampColorARB
, pattern GL_CLAMP_FRAGMENT_COLOR_ARB
, pattern GL_CLAMP_READ_COLOR_ARB
, pattern GL_CLAMP_VERTEX_COLOR_ARB
, pattern GL_FIXED_ONLY_ARB
, pattern GL_RGBA_FLOAT_MODE_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.Types
import System.IO.Unsafe
gl_ARB_color_buffer_float :: Bool
gl_ARB_color_buffer_float :: Bool
gl_ARB_color_buffer_float = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ARB_color_buffer_float" Set [Char]
extensions
{-# NOINLINE gl_ARB_color_buffer_float #-}
glClampColorARB :: MonadIO m => GLenum -> GLenum -> m ()
glClampColorARB :: GLenum -> GLenum -> m ()
glClampColorARB = FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
ffienumenumIOV FunPtr (GLenum -> GLenum -> IO ())
glClampColorARBFunPtr
glClampColorARBFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glClampColorARBFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glClampColorARBFunPtr = IO (FunPtr (GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glClampColorARB")
{-# NOINLINE glClampColorARBFunPtr #-}
pattern $bGL_CLAMP_FRAGMENT_COLOR_ARB :: a
$mGL_CLAMP_FRAGMENT_COLOR_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B
pattern $bGL_CLAMP_READ_COLOR_ARB :: a
$mGL_CLAMP_READ_COLOR_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CLAMP_READ_COLOR_ARB = 0x891C
pattern $bGL_CLAMP_VERTEX_COLOR_ARB :: a
$mGL_CLAMP_VERTEX_COLOR_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CLAMP_VERTEX_COLOR_ARB = 0x891A
pattern $bGL_FIXED_ONLY_ARB :: a
$mGL_FIXED_ONLY_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FIXED_ONLY_ARB = 0x891D
pattern $bGL_RGBA_FLOAT_MODE_ARB :: a
$mGL_RGBA_FLOAT_MODE_ARB :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_RGBA_FLOAT_MODE_ARB = 0x8820