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 = member "GL_ARB_color_buffer_float" extensions
glClampColorARB :: MonadIO m => GLenum -> GLenum -> m ()
glClampColorARB = ffienumenumIOV glClampColorARBFunPtr
glClampColorARBFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glClampColorARBFunPtr = unsafePerformIO (getProcAddress "glClampColorARB")
pattern GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B
pattern GL_CLAMP_READ_COLOR_ARB = 0x891C
pattern GL_CLAMP_VERTEX_COLOR_ARB = 0x891A
pattern GL_FIXED_ONLY_ARB = 0x891D
pattern GL_RGBA_FLOAT_MODE_ARB = 0x8820