-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.KHR.BlendEquationAdvanced (
  -- * Extension Support
    gl_KHR_blend_equation_advanced

  -- * GL_KHR_blend_equation_advanced
  , glBlendBarrierKHR
  , pattern GL_COLORBURN_KHR
  , pattern GL_COLORDODGE_KHR
  , pattern GL_DARKEN_KHR
  , pattern GL_DIFFERENCE_KHR
  , pattern GL_EXCLUSION_KHR
  , pattern GL_HARDLIGHT_KHR
  , pattern GL_HSL_COLOR_KHR
  , pattern GL_HSL_HUE_KHR
  , pattern GL_HSL_LUMINOSITY_KHR
  , pattern GL_HSL_SATURATION_KHR
  , pattern GL_LIGHTEN_KHR
  , pattern GL_MULTIPLY_KHR
  , pattern GL_OVERLAY_KHR
  , pattern GL_SCREEN_KHR
  , pattern GL_SOFTLIGHT_KHR
) where

import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import System.IO.Unsafe

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/KHR/blend_equation_advanced.txt GL_KHR_blend_equation_advanced> extension is available.

gl_KHR_blend_equation_advanced :: Bool
gl_KHR_blend_equation_advanced :: Bool
gl_KHR_blend_equation_advanced = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_KHR_blend_equation_advanced" Set [Char]
extensions
{-# NOINLINE gl_KHR_blend_equation_advanced #-}

-- | Usage: @'glBlendBarrierKHR'@
--
-- This command is an alias for 'Graphics.GL.Embedded32.glBlendBarrier'.


glBlendBarrierKHR :: MonadIO m => m ()
glBlendBarrierKHR :: m ()
glBlendBarrierKHR = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glBlendBarrierKHRFunPtr

glBlendBarrierKHRFunPtr :: FunPtr (IO ())
glBlendBarrierKHRFunPtr :: FunPtr (IO ())
glBlendBarrierKHRFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendBarrierKHR")

{-# NOINLINE glBlendBarrierKHRFunPtr #-}

pattern $bGL_COLORBURN_KHR :: a
$mGL_COLORBURN_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COLORBURN_KHR = 0x929A

pattern $bGL_COLORDODGE_KHR :: a
$mGL_COLORDODGE_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_COLORDODGE_KHR = 0x9299

pattern $bGL_DARKEN_KHR :: a
$mGL_DARKEN_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DARKEN_KHR = 0x9297

pattern $bGL_DIFFERENCE_KHR :: a
$mGL_DIFFERENCE_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DIFFERENCE_KHR = 0x929E

pattern $bGL_EXCLUSION_KHR :: a
$mGL_EXCLUSION_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_EXCLUSION_KHR = 0x92A0

pattern $bGL_HARDLIGHT_KHR :: a
$mGL_HARDLIGHT_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_HARDLIGHT_KHR = 0x929B

pattern $bGL_HSL_COLOR_KHR :: a
$mGL_HSL_COLOR_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_HSL_COLOR_KHR = 0x92AF

pattern $bGL_HSL_HUE_KHR :: a
$mGL_HSL_HUE_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_HSL_HUE_KHR = 0x92AD

pattern $bGL_HSL_LUMINOSITY_KHR :: a
$mGL_HSL_LUMINOSITY_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_HSL_LUMINOSITY_KHR = 0x92B0

pattern $bGL_HSL_SATURATION_KHR :: a
$mGL_HSL_SATURATION_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_HSL_SATURATION_KHR = 0x92AE

pattern $bGL_LIGHTEN_KHR :: a
$mGL_LIGHTEN_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LIGHTEN_KHR = 0x9298

pattern $bGL_MULTIPLY_KHR :: a
$mGL_MULTIPLY_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MULTIPLY_KHR = 0x9294

pattern $bGL_OVERLAY_KHR :: a
$mGL_OVERLAY_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_OVERLAY_KHR = 0x9296

pattern $bGL_SCREEN_KHR :: a
$mGL_SCREEN_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SCREEN_KHR = 0x9295

pattern $bGL_SOFTLIGHT_KHR :: a
$mGL_SOFTLIGHT_KHR :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SOFTLIGHT_KHR = 0x929C