{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.AMD.DrawBuffersBlend (
gl_AMD_draw_buffers_blend
, glBlendEquationIndexedAMD
, glBlendEquationSeparateIndexedAMD
, glBlendFuncIndexedAMD
, glBlendFuncSeparateIndexedAMD
) 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_AMD_draw_buffers_blend :: Bool
gl_AMD_draw_buffers_blend :: Bool
gl_AMD_draw_buffers_blend = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_AMD_draw_buffers_blend" Set [Char]
extensions
{-# NOINLINE gl_AMD_draw_buffers_blend #-}
glBlendEquationIndexedAMD :: MonadIO m => GLuint -> GLenum -> m ()
glBlendEquationIndexedAMD :: GLuint -> GLuint -> m ()
glBlendEquationIndexedAMD = FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> IO ()) -> GLuint -> GLuint -> m ()
ffiuintenumIOV FunPtr (GLuint -> GLuint -> IO ())
glBlendEquationIndexedAMDFunPtr
glBlendEquationIndexedAMDFunPtr :: FunPtr (GLuint -> GLenum -> IO ())
glBlendEquationIndexedAMDFunPtr :: FunPtr (GLuint -> GLuint -> IO ())
glBlendEquationIndexedAMDFunPtr = IO (FunPtr (GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendEquationIndexedAMD")
{-# NOINLINE glBlendEquationIndexedAMDFunPtr #-}
glBlendEquationSeparateIndexedAMD :: MonadIO m => GLuint -> GLenum -> GLenum -> m ()
glBlendEquationSeparateIndexedAMD :: GLuint -> GLuint -> GLuint -> m ()
glBlendEquationSeparateIndexedAMD = FunPtr (GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> m ()
ffiuintenumenumIOV FunPtr (GLuint -> GLuint -> GLuint -> IO ())
glBlendEquationSeparateIndexedAMDFunPtr
glBlendEquationSeparateIndexedAMDFunPtr :: FunPtr (GLuint -> GLenum -> GLenum -> IO ())
glBlendEquationSeparateIndexedAMDFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> IO ())
glBlendEquationSeparateIndexedAMDFunPtr = IO (FunPtr (GLuint -> GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendEquationSeparateIndexedAMD")
{-# NOINLINE glBlendEquationSeparateIndexedAMDFunPtr #-}
glBlendFuncIndexedAMD :: MonadIO m => GLuint -> GLenum -> GLenum -> m ()
glBlendFuncIndexedAMD :: GLuint -> GLuint -> GLuint -> m ()
glBlendFuncIndexedAMD = FunPtr (GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> m ()
ffiuintenumenumIOV FunPtr (GLuint -> GLuint -> GLuint -> IO ())
glBlendFuncIndexedAMDFunPtr
glBlendFuncIndexedAMDFunPtr :: FunPtr (GLuint -> GLenum -> GLenum -> IO ())
glBlendFuncIndexedAMDFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> IO ())
glBlendFuncIndexedAMDFunPtr = IO (FunPtr (GLuint -> GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLuint -> GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendFuncIndexedAMD")
{-# NOINLINE glBlendFuncIndexedAMDFunPtr #-}
glBlendFuncSeparateIndexedAMD :: MonadIO m => GLuint -> GLenum -> GLenum -> GLenum -> GLenum -> m ()
glBlendFuncSeparateIndexedAMD :: GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
glBlendFuncSeparateIndexedAMD = FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
-> GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
ffiuintenumenumenumenumIOV FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glBlendFuncSeparateIndexedAMDFunPtr
glBlendFuncSeparateIndexedAMDFunPtr :: FunPtr (GLuint -> GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glBlendFuncSeparateIndexedAMDFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glBlendFuncSeparateIndexedAMDFunPtr = IO
(FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ()))
-> FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glBlendFuncSeparateIndexedAMD")
{-# NOINLINE glBlendFuncSeparateIndexedAMDFunPtr #-}