{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.QCOM.AlphaTest (
gl_QCOM_alpha_test
, glAlphaFuncQCOM
, pattern GL_ALPHA_TEST_FUNC_QCOM
, pattern GL_ALPHA_TEST_QCOM
, pattern GL_ALPHA_TEST_REF_QCOM
) 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_QCOM_alpha_test :: Bool
gl_QCOM_alpha_test :: Bool
gl_QCOM_alpha_test = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_QCOM_alpha_test" Set [Char]
extensions
{-# NOINLINE gl_QCOM_alpha_test #-}
glAlphaFuncQCOM :: MonadIO m => GLenum -> GLclampf -> m ()
glAlphaFuncQCOM :: GLenum -> GLclampf -> m ()
glAlphaFuncQCOM = FunPtr (GLenum -> GLclampf -> IO ()) -> GLenum -> GLclampf -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLclampf -> IO ()) -> GLenum -> GLclampf -> m ()
ffienumclampfIOV FunPtr (GLenum -> GLclampf -> IO ())
glAlphaFuncQCOMFunPtr
glAlphaFuncQCOMFunPtr :: FunPtr (GLenum -> GLclampf -> IO ())
glAlphaFuncQCOMFunPtr :: FunPtr (GLenum -> GLclampf -> IO ())
glAlphaFuncQCOMFunPtr = IO (FunPtr (GLenum -> GLclampf -> IO ()))
-> FunPtr (GLenum -> GLclampf -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLclampf -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glAlphaFuncQCOM")
{-# NOINLINE glAlphaFuncQCOMFunPtr #-}
pattern $bGL_ALPHA_TEST_FUNC_QCOM :: a
$mGL_ALPHA_TEST_FUNC_QCOM :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ALPHA_TEST_FUNC_QCOM = 0x0BC1
pattern $bGL_ALPHA_TEST_QCOM :: a
$mGL_ALPHA_TEST_QCOM :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ALPHA_TEST_QCOM = 0x0BC0
pattern $bGL_ALPHA_TEST_REF_QCOM :: a
$mGL_ALPHA_TEST_REF_QCOM :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_ALPHA_TEST_REF_QCOM = 0x0BC2