{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ATI.SeparateStencil (
gl_ATI_separate_stencil
, glStencilFuncSeparateATI
, glStencilOpSeparateATI
, pattern GL_STENCIL_BACK_FAIL_ATI
, pattern GL_STENCIL_BACK_FUNC_ATI
, pattern GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI
, pattern GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI
) 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_ATI_separate_stencil :: Bool
gl_ATI_separate_stencil :: Bool
gl_ATI_separate_stencil = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ATI_separate_stencil" Set [Char]
extensions
{-# NOINLINE gl_ATI_separate_stencil #-}
glStencilFuncSeparateATI :: MonadIO m => GLenum -> GLenum -> GLint -> GLuint -> m ()
glStencilFuncSeparateATI :: GLenum -> GLenum -> GLint -> GLenum -> m ()
glStencilFuncSeparateATI = FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ())
-> GLenum -> GLenum -> GLint -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ())
-> GLenum -> GLenum -> GLint -> GLenum -> m ()
ffienumenumintuintIOV FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ())
glStencilFuncSeparateATIFunPtr
glStencilFuncSeparateATIFunPtr :: FunPtr (GLenum -> GLenum -> GLint -> GLuint -> IO ())
glStencilFuncSeparateATIFunPtr :: FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ())
glStencilFuncSeparateATIFunPtr = IO (FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> GLenum -> GLint -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glStencilFuncSeparateATI")
{-# NOINLINE glStencilFuncSeparateATIFunPtr #-}
glStencilOpSeparateATI :: MonadIO m => GLenum -> GLenum -> GLenum -> GLenum -> m ()
glStencilOpSeparateATI :: GLenum -> GLenum -> GLenum -> GLenum -> m ()
glStencilOpSeparateATI = FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
-> GLenum -> GLenum -> GLenum -> GLenum -> m ()
ffienumenumenumenumIOV FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glStencilOpSeparateATIFunPtr
glStencilOpSeparateATIFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glStencilOpSeparateATIFunPtr :: FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
glStencilOpSeparateATIFunPtr = IO (FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char]
-> IO (FunPtr (GLenum -> GLenum -> GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glStencilOpSeparateATI")
{-# NOINLINE glStencilOpSeparateATIFunPtr #-}
pattern $bGL_STENCIL_BACK_FAIL_ATI :: a
$mGL_STENCIL_BACK_FAIL_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STENCIL_BACK_FAIL_ATI = 0x8801
pattern $bGL_STENCIL_BACK_FUNC_ATI :: a
$mGL_STENCIL_BACK_FUNC_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STENCIL_BACK_FUNC_ATI = 0x8800
pattern $bGL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI :: a
$mGL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802
pattern $bGL_STENCIL_BACK_PASS_DEPTH_PASS_ATI :: a
$mGL_STENCIL_BACK_PASS_DEPTH_PASS_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803