{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BlendColor (
gl_EXT_blend_color
, glBlendColorEXT
, pattern GL_BLEND_COLOR_EXT
, pattern GL_CONSTANT_ALPHA_EXT
, pattern GL_CONSTANT_COLOR_EXT
, pattern GL_ONE_MINUS_CONSTANT_ALPHA_EXT
, pattern GL_ONE_MINUS_CONSTANT_COLOR_EXT
) 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_EXT_blend_color :: Bool
gl_EXT_blend_color :: Bool
gl_EXT_blend_color = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_blend_color" Set [Char]
extensions
{-# NOINLINE gl_EXT_blend_color #-}
glBlendColorEXT :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
glBlendColorEXT :: GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
glBlendColorEXT = FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
-> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
-> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
ffifloatfloatfloatfloatIOV FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
glBlendColorEXTFunPtr
glBlendColorEXTFunPtr :: FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
glBlendColorEXTFunPtr :: FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
glBlendColorEXTFunPtr = IO (FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()))
-> FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendColorEXT")
{-# NOINLINE glBlendColorEXTFunPtr #-}
pattern $bGL_BLEND_COLOR_EXT :: a
$mGL_BLEND_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_COLOR_EXT = 0x8005
pattern $bGL_CONSTANT_ALPHA_EXT :: a
$mGL_CONSTANT_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONSTANT_ALPHA_EXT = 0x8003
pattern $bGL_CONSTANT_COLOR_EXT :: a
$mGL_CONSTANT_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_CONSTANT_COLOR_EXT = 0x8001
pattern $bGL_ONE_MINUS_CONSTANT_ALPHA_EXT :: a
$mGL_ONE_MINUS_CONSTANT_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004
pattern $bGL_ONE_MINUS_CONSTANT_COLOR_EXT :: a
$mGL_ONE_MINUS_CONSTANT_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002