{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BlendEquationSeparate (
gl_EXT_blend_equation_separate
, glBlendEquationSeparateEXT
, pattern GL_BLEND_EQUATION_ALPHA_EXT
, pattern GL_BLEND_EQUATION_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_equation_separate :: Bool
gl_EXT_blend_equation_separate :: Bool
gl_EXT_blend_equation_separate = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_blend_equation_separate" Set [Char]
extensions
{-# NOINLINE gl_EXT_blend_equation_separate #-}
glBlendEquationSeparateEXT :: MonadIO m => GLenum -> GLenum -> m ()
glBlendEquationSeparateEXT :: GLenum -> GLenum -> m ()
glBlendEquationSeparateEXT = FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
ffienumenumIOV FunPtr (GLenum -> GLenum -> IO ())
glBlendEquationSeparateEXTFunPtr
glBlendEquationSeparateEXTFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glBlendEquationSeparateEXTFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glBlendEquationSeparateEXTFunPtr = 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 "glBlendEquationSeparateEXT")
{-# NOINLINE glBlendEquationSeparateEXTFunPtr #-}
pattern $bGL_BLEND_EQUATION_ALPHA_EXT :: a
$mGL_BLEND_EQUATION_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_EQUATION_ALPHA_EXT = 0x883D
pattern $bGL_BLEND_EQUATION_RGB_EXT :: a
$mGL_BLEND_EQUATION_RGB_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_EQUATION_RGB_EXT = 0x8009