module Graphics.GL.Ext.EXT.IndexMaterial (
gl_EXT_index_material
, glIndexMaterialEXT
, pattern GL_INDEX_MATERIAL_EXT
, pattern GL_INDEX_MATERIAL_FACE_EXT
, pattern GL_INDEX_MATERIAL_PARAMETER_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_material :: Bool
gl_EXT_index_material = member "GL_EXT_index_material" extensions
glIndexMaterialEXT :: MonadIO m => GLenum -> GLenum -> m ()
glIndexMaterialEXT = ffienumenumIOV glIndexMaterialEXTFunPtr
glIndexMaterialEXTFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glIndexMaterialEXTFunPtr = unsafePerformIO (getProcAddress "glIndexMaterialEXT")
pattern GL_INDEX_MATERIAL_EXT = 0x81B8
pattern GL_INDEX_MATERIAL_FACE_EXT = 0x81BA
pattern GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9