{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.DrawBuffers2 (
gl_EXT_draw_buffers2
, glColorMaskIndexedEXT
, glDisableIndexedEXT
, glEnableIndexedEXT
, glGetBooleanIndexedvEXT
, glGetIntegerIndexedvEXT
, glIsEnabledIndexedEXT
) 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_draw_buffers2 :: Bool
gl_EXT_draw_buffers2 :: Bool
gl_EXT_draw_buffers2 = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_draw_buffers2" Set [Char]
extensions
{-# NOINLINE gl_EXT_draw_buffers2 #-}
glColorMaskIndexedEXT :: MonadIO m => GLuint -> GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
glColorMaskIndexedEXT :: GLuint -> GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
glColorMaskIndexedEXT = FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
-> GLuint
-> GLboolean
-> GLboolean
-> GLboolean
-> GLboolean
-> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
-> GLuint
-> GLboolean
-> GLboolean
-> GLboolean
-> GLboolean
-> m ()
ffiuintbooleanbooleanbooleanbooleanIOV FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glColorMaskIndexedEXTFunPtr
glColorMaskIndexedEXTFunPtr :: FunPtr (GLuint -> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glColorMaskIndexedEXTFunPtr :: FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glColorMaskIndexedEXTFunPtr = IO
(FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ()))
-> FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLuint
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glColorMaskIndexedEXT")
{-# NOINLINE glColorMaskIndexedEXTFunPtr #-}