{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.IndexFunc (
gl_EXT_index_func
, glIndexFuncEXT
, pattern GL_INDEX_TEST_EXT
, pattern GL_INDEX_TEST_FUNC_EXT
, pattern GL_INDEX_TEST_REF_EXT
) 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_EXT_index_func :: Bool
gl_EXT_index_func :: Bool
gl_EXT_index_func = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_index_func" Set [Char]
extensions
{-# NOINLINE gl_EXT_index_func #-}
glIndexFuncEXT :: MonadIO m => GLenum -> GLclampf -> m ()
glIndexFuncEXT :: GLenum -> GLclampf -> m ()
glIndexFuncEXT = FunPtr (GLenum -> GLclampf -> IO ()) -> GLenum -> GLclampf -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLclampf -> IO ()) -> GLenum -> GLclampf -> m ()
ffienumclampfIOV FunPtr (GLenum -> GLclampf -> IO ())
glIndexFuncEXTFunPtr
glIndexFuncEXTFunPtr :: FunPtr (GLenum -> GLclampf -> IO ())
glIndexFuncEXTFunPtr :: FunPtr (GLenum -> GLclampf -> IO ())
glIndexFuncEXTFunPtr = 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 "glIndexFuncEXT")
{-# NOINLINE glIndexFuncEXTFunPtr #-}
pattern $bGL_INDEX_TEST_EXT :: a
$mGL_INDEX_TEST_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_TEST_EXT = 0x81B5
pattern $bGL_INDEX_TEST_FUNC_EXT :: a
$mGL_INDEX_TEST_FUNC_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_TEST_FUNC_EXT = 0x81B6
pattern $bGL_INDEX_TEST_REF_EXT :: a
$mGL_INDEX_TEST_REF_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_TEST_REF_EXT = 0x81B7