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 = member "GL_EXT_index_func" extensions
glIndexFuncEXT :: MonadIO m => GLenum -> GLclampf -> m ()
glIndexFuncEXT = ffienumclampfIOV glIndexFuncEXTFunPtr
glIndexFuncEXTFunPtr :: FunPtr (GLenum -> GLclampf -> IO ())
glIndexFuncEXTFunPtr = unsafePerformIO (getProcAddress "glIndexFuncEXT")
pattern GL_INDEX_TEST_EXT = 0x81B5
pattern GL_INDEX_TEST_FUNC_EXT = 0x81B6
pattern GL_INDEX_TEST_REF_EXT = 0x81B7