{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.TexturePerturbNormal (
gl_EXT_texture_perturb_normal
, glTextureNormalEXT
, pattern GL_PERTURB_EXT
, pattern GL_TEXTURE_NORMAL_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_texture_perturb_normal :: Bool
gl_EXT_texture_perturb_normal :: Bool
gl_EXT_texture_perturb_normal = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_EXT_texture_perturb_normal" Set [Char]
extensions
{-# NOINLINE gl_EXT_texture_perturb_normal #-}
glTextureNormalEXT :: MonadIO m => GLenum -> m ()
glTextureNormalEXT :: GLenum -> m ()
glTextureNormalEXT = FunPtr (GLenum -> IO ()) -> GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> IO ()) -> GLenum -> m ()
ffienumIOV FunPtr (GLenum -> IO ())
glTextureNormalEXTFunPtr
glTextureNormalEXTFunPtr :: FunPtr (GLenum -> IO ())
glTextureNormalEXTFunPtr :: FunPtr (GLenum -> IO ())
glTextureNormalEXTFunPtr = IO (FunPtr (GLenum -> IO ())) -> FunPtr (GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTextureNormalEXT")
{-# NOINLINE glTextureNormalEXTFunPtr #-}
pattern $bGL_PERTURB_EXT :: a
$mGL_PERTURB_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_PERTURB_EXT = 0x85AE
pattern $bGL_TEXTURE_NORMAL_EXT :: a
$mGL_TEXTURE_NORMAL_EXT :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_TEXTURE_NORMAL_EXT = 0x85AF