{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.SGIS.TextureColorMask (
gl_SGIS_texture_color_mask
, glTextureColorMaskSGIS
, pattern GL_TEXTURE_COLOR_WRITEMASK_SGIS
) 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_SGIS_texture_color_mask :: Bool
gl_SGIS_texture_color_mask :: Bool
gl_SGIS_texture_color_mask = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_SGIS_texture_color_mask" Set [Char]
extensions
{-# NOINLINE gl_SGIS_texture_color_mask #-}
glTextureColorMaskSGIS :: MonadIO m => GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
glTextureColorMaskSGIS :: GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
glTextureColorMaskSGIS = FunPtr (GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
-> GLboolean -> GLboolean -> GLboolean -> GLboolean -> m ()
ffibooleanbooleanbooleanbooleanIOV FunPtr (GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glTextureColorMaskSGISFunPtr
glTextureColorMaskSGISFunPtr :: FunPtr (GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glTextureColorMaskSGISFunPtr :: FunPtr (GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
glTextureColorMaskSGISFunPtr = IO
(FunPtr
(GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ()))
-> FunPtr
(GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO
(FunPtr
(GLboolean -> GLboolean -> GLboolean -> GLboolean -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTextureColorMaskSGIS")
{-# NOINLINE glTextureColorMaskSGISFunPtr #-}
pattern $bGL_TEXTURE_COLOR_WRITEMASK_SGIS :: a
$mGL_TEXTURE_COLOR_WRITEMASK_SGIS :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF