-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.EXT.TexturePerturbNormal (
  -- * Extension Support
    gl_EXT_texture_perturb_normal

  -- * 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

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/EXT/texture_perturb_normal.txt GL_EXT_texture_perturb_normal> extension is available.

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 #-}

-- | Usage: @'glTextureNormalEXT' mode@
--
-- The parameter @mode@ is a @TextureNormalModeEXT@.


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