{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.BlendFuncExtended (
gl_EXT_blend_func_extended
, glBindFragDataLocationEXT
, glBindFragDataLocationIndexedEXT
, glGetFragDataIndexEXT
, glGetProgramResourceLocationIndexEXT
, pattern GL_LOCATION_INDEX_EXT
, pattern GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT
, pattern GL_ONE_MINUS_SRC1_ALPHA_EXT
, pattern GL_ONE_MINUS_SRC1_COLOR_EXT
, pattern GL_SRC1_ALPHA_EXT
, pattern GL_SRC1_COLOR_EXT
, pattern GL_SRC_ALPHA_SATURATE_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.Internal.Shared
import Graphics.GL.Types
import System.IO.Unsafe
gl_EXT_blend_func_extended :: Bool
gl_EXT_blend_func_extended :: Bool
gl_EXT_blend_func_extended = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_blend_func_extended" Set [Char]
extensions
{-# NOINLINE gl_EXT_blend_func_extended #-}
glBindFragDataLocationIndexedEXT :: MonadIO m => GLuint -> GLuint -> GLuint -> Ptr GLchar -> m ()
glBindFragDataLocationIndexedEXT :: GLuint -> GLuint -> GLuint -> Ptr GLchar -> m ()
glBindFragDataLocationIndexedEXT = FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
-> GLuint -> GLuint -> GLuint -> Ptr GLchar -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
-> GLuint -> GLuint -> GLuint -> Ptr GLchar -> m ()
ffiuintuintuintPtrcharIOV FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
glBindFragDataLocationIndexedEXTFunPtr
glBindFragDataLocationIndexedEXTFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
glBindFragDataLocationIndexedEXTFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
glBindFragDataLocationIndexedEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ()))
-> FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLuint -> GLuint -> GLuint -> Ptr GLchar -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBindFragDataLocationIndexedEXT")
{-# NOINLINE glBindFragDataLocationIndexedEXTFunPtr #-}
glGetFragDataIndexEXT :: MonadIO m => GLuint -> Ptr GLchar -> m GLint
glGetFragDataIndexEXT :: GLuint -> Ptr GLchar -> m GLint
glGetFragDataIndexEXT = FunPtr (GLuint -> Ptr GLchar -> IO GLint)
-> GLuint -> Ptr GLchar -> m GLint
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> Ptr GLchar -> IO GLint)
-> GLuint -> Ptr GLchar -> m GLint
ffiuintPtrcharIOint FunPtr (GLuint -> Ptr GLchar -> IO GLint)
glGetFragDataIndexEXTFunPtr
glGetFragDataIndexEXTFunPtr :: FunPtr (GLuint -> Ptr GLchar -> IO GLint)
glGetFragDataIndexEXTFunPtr :: FunPtr (GLuint -> Ptr GLchar -> IO GLint)
glGetFragDataIndexEXTFunPtr = IO (FunPtr (GLuint -> Ptr GLchar -> IO GLint))
-> FunPtr (GLuint -> Ptr GLchar -> IO GLint)
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> Ptr GLchar -> IO GLint))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetFragDataIndexEXT")
{-# NOINLINE glGetFragDataIndexEXTFunPtr #-}
glGetProgramResourceLocationIndexEXT :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> m GLint
glGetProgramResourceLocationIndexEXT :: GLuint -> GLuint -> Ptr GLchar -> m GLint
glGetProgramResourceLocationIndexEXT = FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint)
-> GLuint -> GLuint -> Ptr GLchar -> m GLint
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint)
-> GLuint -> GLuint -> Ptr GLchar -> m GLint
ffiuintenumPtrcharIOint FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint)
glGetProgramResourceLocationIndexEXTFunPtr
glGetProgramResourceLocationIndexEXTFunPtr :: FunPtr (GLuint -> GLenum -> Ptr GLchar -> IO GLint)
glGetProgramResourceLocationIndexEXTFunPtr :: FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint)
glGetProgramResourceLocationIndexEXTFunPtr = IO (FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint))
-> FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint)
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> Ptr GLchar -> IO GLint))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetProgramResourceLocationIndexEXT")
{-# NOINLINE glGetProgramResourceLocationIndexEXTFunPtr #-}
pattern $bGL_LOCATION_INDEX_EXT :: a
$mGL_LOCATION_INDEX_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_LOCATION_INDEX_EXT = 0x930F
pattern $bGL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT :: a
$mGL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT = 0x88FC
pattern $bGL_ONE_MINUS_SRC1_ALPHA_EXT :: a
$mGL_ONE_MINUS_SRC1_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ONE_MINUS_SRC1_ALPHA_EXT = 0x88FB
pattern $bGL_ONE_MINUS_SRC1_COLOR_EXT :: a
$mGL_ONE_MINUS_SRC1_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ONE_MINUS_SRC1_COLOR_EXT = 0x88FA
pattern $bGL_SRC1_ALPHA_EXT :: a
$mGL_SRC1_ALPHA_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SRC1_ALPHA_EXT = 0x8589
pattern $bGL_SRC1_COLOR_EXT :: a
$mGL_SRC1_COLOR_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SRC1_COLOR_EXT = 0x88F9
pattern $bGL_SRC_ALPHA_SATURATE_EXT :: a
$mGL_SRC_ALPHA_SATURATE_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_SRC_ALPHA_SATURATE_EXT = 0x0308