-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.ATI.EnvmapBumpmap (
  -- * Extension Support
    gl_ATI_envmap_bumpmap

  -- * GL_ATI_envmap_bumpmap
  , glGetTexBumpParameterfvATI
  , glGetTexBumpParameterivATI
  , glTexBumpParameterfvATI
  , glTexBumpParameterivATI
  , pattern GL_BUMP_ENVMAP_ATI
  , pattern GL_BUMP_NUM_TEX_UNITS_ATI
  , pattern GL_BUMP_ROT_MATRIX_ATI
  , pattern GL_BUMP_ROT_MATRIX_SIZE_ATI
  , pattern GL_BUMP_TARGET_ATI
  , pattern GL_BUMP_TEX_UNITS_ATI
  , pattern GL_DU8DV8_ATI
  , pattern GL_DUDV_ATI
) 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/ATI/envmap_bumpmap.txt GL_ATI_envmap_bumpmap> extension is available.

gl_ATI_envmap_bumpmap :: Bool
gl_ATI_envmap_bumpmap :: Bool
gl_ATI_envmap_bumpmap = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_ATI_envmap_bumpmap" Set [Char]
extensions
{-# NOINLINE gl_ATI_envmap_bumpmap #-}

-- | Usage: @'glGetTexBumpParameterfvATI' pname param@
--
-- The parameter @pname@ is a @GetTexBumpParameterATI@.
--
-- The length of @param@ should be @COMPSIZE(pname)@.


glGetTexBumpParameterfvATI :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glGetTexBumpParameterfvATI :: GLenum -> Ptr GLfloat -> m ()
glGetTexBumpParameterfvATI = FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
ffienumPtrfloatIOV FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetTexBumpParameterfvATIFunPtr

glGetTexBumpParameterfvATIFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetTexBumpParameterfvATIFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glGetTexBumpParameterfvATIFunPtr = IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetTexBumpParameterfvATI")

{-# NOINLINE glGetTexBumpParameterfvATIFunPtr #-}

-- | Usage: @'glGetTexBumpParameterivATI' pname param@
--
-- The parameter @pname@ is a @GetTexBumpParameterATI@.
--
-- The length of @param@ should be @COMPSIZE(pname)@.


glGetTexBumpParameterivATI :: MonadIO m => GLenum -> Ptr GLint -> m ()
glGetTexBumpParameterivATI :: GLenum -> Ptr GLint -> m ()
glGetTexBumpParameterivATI = FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
ffienumPtrintIOV FunPtr (GLenum -> Ptr GLint -> IO ())
glGetTexBumpParameterivATIFunPtr

glGetTexBumpParameterivATIFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glGetTexBumpParameterivATIFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glGetTexBumpParameterivATIFunPtr = IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
-> FunPtr (GLenum -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetTexBumpParameterivATI")

{-# NOINLINE glGetTexBumpParameterivATIFunPtr #-}

-- | Usage: @'glTexBumpParameterfvATI' pname param@
--
-- The parameter @pname@ is a @TexBumpParameterATI@.
--
-- The length of @param@ should be @COMPSIZE(pname)@.


glTexBumpParameterfvATI :: MonadIO m => GLenum -> Ptr GLfloat -> m ()
glTexBumpParameterfvATI :: GLenum -> Ptr GLfloat -> m ()
glTexBumpParameterfvATI = FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLfloat -> IO ())
-> GLenum -> Ptr GLfloat -> m ()
ffienumPtrfloatIOV FunPtr (GLenum -> Ptr GLfloat -> IO ())
glTexBumpParameterfvATIFunPtr

glTexBumpParameterfvATIFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glTexBumpParameterfvATIFunPtr :: FunPtr (GLenum -> Ptr GLfloat -> IO ())
glTexBumpParameterfvATIFunPtr = IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
-> FunPtr (GLenum -> Ptr GLfloat -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLfloat -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexBumpParameterfvATI")

{-# NOINLINE glTexBumpParameterfvATIFunPtr #-}

-- | Usage: @'glTexBumpParameterivATI' pname param@
--
-- The parameter @pname@ is a @TexBumpParameterATI@.
--
-- The length of @param@ should be @COMPSIZE(pname)@.


glTexBumpParameterivATI :: MonadIO m => GLenum -> Ptr GLint -> m ()
glTexBumpParameterivATI :: GLenum -> Ptr GLint -> m ()
glTexBumpParameterivATI = FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> Ptr GLint -> IO ())
-> GLenum -> Ptr GLint -> m ()
ffienumPtrintIOV FunPtr (GLenum -> Ptr GLint -> IO ())
glTexBumpParameterivATIFunPtr

glTexBumpParameterivATIFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glTexBumpParameterivATIFunPtr :: FunPtr (GLenum -> Ptr GLint -> IO ())
glTexBumpParameterivATIFunPtr = IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
-> FunPtr (GLenum -> Ptr GLint -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> Ptr GLint -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glTexBumpParameterivATI")

{-# NOINLINE glTexBumpParameterivATIFunPtr #-}

pattern $bGL_BUMP_ENVMAP_ATI :: a
$mGL_BUMP_ENVMAP_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_ENVMAP_ATI = 0x877B

pattern $bGL_BUMP_NUM_TEX_UNITS_ATI :: a
$mGL_BUMP_NUM_TEX_UNITS_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777

pattern $bGL_BUMP_ROT_MATRIX_ATI :: a
$mGL_BUMP_ROT_MATRIX_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_ROT_MATRIX_ATI = 0x8775

pattern $bGL_BUMP_ROT_MATRIX_SIZE_ATI :: a
$mGL_BUMP_ROT_MATRIX_SIZE_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776

pattern $bGL_BUMP_TARGET_ATI :: a
$mGL_BUMP_TARGET_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_TARGET_ATI = 0x877C

pattern $bGL_BUMP_TEX_UNITS_ATI :: a
$mGL_BUMP_TEX_UNITS_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_BUMP_TEX_UNITS_ATI = 0x8778

pattern $bGL_DU8DV8_ATI :: a
$mGL_DU8DV8_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DU8DV8_ATI = 0x877A

pattern $bGL_DUDV_ATI :: a
$mGL_DUDV_ATI :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_DUDV_ATI = 0x8779