{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BlendMinmax (
gl_EXT_blend_minmax
, glBlendEquationEXT
, pattern GL_BLEND_EQUATION_EXT
, pattern GL_FUNC_ADD_EXT
, pattern GL_MAX_EXT
, pattern GL_MIN_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_minmax :: Bool
gl_EXT_blend_minmax :: Bool
gl_EXT_blend_minmax = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_blend_minmax" Set [Char]
extensions
{-# NOINLINE gl_EXT_blend_minmax #-}
glBlendEquationEXT :: MonadIO m => GLenum -> m ()
glBlendEquationEXT :: GLenum -> m ()
glBlendEquationEXT = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glBlendEquationEXTFunPtr
glBlendEquationEXTFunPtr :: FunPtr (GLenum -> IO ())
glBlendEquationEXTFunPtr :: FunPtr (GLenum -> IO ())
glBlendEquationEXTFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendEquationEXT")
{-# NOINLINE glBlendEquationEXTFunPtr #-}
pattern $bGL_BLEND_EQUATION_EXT :: a
$mGL_BLEND_EQUATION_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BLEND_EQUATION_EXT = 0x8009
pattern $bGL_FUNC_ADD_EXT :: a
$mGL_FUNC_ADD_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FUNC_ADD_EXT = 0x8006
pattern $bGL_MAX_EXT :: a
$mGL_MAX_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_EXT = 0x8008
pattern $bGL_MIN_EXT :: a
$mGL_MIN_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIN_EXT = 0x8007