{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
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 :: Bool
gl_EXT_index_material = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_index_material" Set [Char]
extensions
{-# NOINLINE gl_EXT_index_material #-}
glIndexMaterialEXT :: MonadIO m => GLenum -> GLenum -> m ()
glIndexMaterialEXT :: GLenum -> GLenum -> m ()
glIndexMaterialEXT = FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> IO ()) -> GLenum -> GLenum -> m ()
ffienumenumIOV FunPtr (GLenum -> GLenum -> IO ())
glIndexMaterialEXTFunPtr
glIndexMaterialEXTFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glIndexMaterialEXTFunPtr :: FunPtr (GLenum -> GLenum -> IO ())
glIndexMaterialEXTFunPtr = IO (FunPtr (GLenum -> GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glIndexMaterialEXT")
{-# NOINLINE glIndexMaterialEXTFunPtr #-}
pattern $bGL_INDEX_MATERIAL_EXT :: a
$mGL_INDEX_MATERIAL_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_MATERIAL_EXT = 0x81B8
pattern $bGL_INDEX_MATERIAL_FACE_EXT :: a
$mGL_INDEX_MATERIAL_FACE_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_MATERIAL_FACE_EXT = 0x81BA
pattern $bGL_INDEX_MATERIAL_PARAMETER_EXT :: a
$mGL_INDEX_MATERIAL_PARAMETER_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_INDEX_MATERIAL_PARAMETER_EXT = 0x81B9