{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BlendFuncSeparate (
gl_EXT_blend_func_separate
, glBlendFuncSeparateEXT
, pattern GL_BLEND_DST_ALPHA_EXT
, pattern GL_BLEND_DST_RGB_EXT
, pattern GL_BLEND_SRC_ALPHA_EXT
, pattern GL_BLEND_SRC_RGB_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_func_separate :: Bool
gl_EXT_blend_func_separate :: Bool
gl_EXT_blend_func_separate = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_blend_func_separate" Set [Char]
extensions
{-# NOINLINE gl_EXT_blend_func_separate #-}
glBlendFuncSeparateEXT :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
glBlendFuncSeparateEXT :: GLenum -> GLenum -> GLenum -> GLenum -> m ()
glBlendFuncSeparateEXT = FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> m ()
ffienumenumenumenumIOV FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glBlendFuncSeparateEXTFunPtr
glBlendFuncSeparateEXTFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glBlendFuncSeparateEXTFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glBlendFuncSeparateEXTFunPtr = IO (FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendFuncSeparateEXT")
{-# NOINLINE glBlendFuncSeparateEXTFunPtr #-}
pattern $bGL_BLEND_DST_ALPHA_EXT :: a
$mGL_BLEND_DST_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_DST_ALPHA_EXT = 0x80CA
pattern $bGL_BLEND_DST_RGB_EXT :: a
$mGL_BLEND_DST_RGB_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_DST_RGB_EXT = 0x80C8
pattern $bGL_BLEND_SRC_ALPHA_EXT :: a
$mGL_BLEND_SRC_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_SRC_ALPHA_EXT = 0x80CB
pattern $bGL_BLEND_SRC_RGB_EXT :: a
$mGL_BLEND_SRC_RGB_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_SRC_RGB_EXT = 0x80C9