OpenGLRaw-2.0.0.0: src/Graphics/Rendering/OpenGL/Raw/EXT/TexturePerturbNormal.hs
{-# LANGUAGE ForeignFunctionInterface, CPP #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.EXT.TexturePerturbNormal
-- Copyright : (c) Sven Panne 2013
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Portability : portable
--
-- All raw functions and tokens from the EXT_texture_perturb_normal, see
-- <http://www.opengl.org/registry/specs/EXT/perturb_normal.txt>.
--
--------------------------------------------------------------------------------
module Graphics.Rendering.OpenGL.Raw.EXT.TexturePerturbNormal (
-- * Functions
glTextureNormal,
-- * Tokens
gl_PERTURB,
gl_TEXTURE_NORMAL
) where
import Foreign.C.Types
import Graphics.Rendering.OpenGL.Raw.Types
import Foreign.Ptr ( FunPtr )
import Graphics.Rendering.OpenGL.Raw.GetProcAddress ( getExtensionChecked )
import System.IO.Unsafe ( unsafePerformIO )
#include "HsOpenGLRaw.h"
EXTENSION_ENTRY(dyn_glTextureNormal,ptr_glTextureNormal,"glTextureNormal",glTextureNormal,GLenum -> IO ())
gl_PERTURB :: GLenum
gl_PERTURB = 0x85AE
gl_TEXTURE_NORMAL :: GLenum
gl_TEXTURE_NORMAL = 0x85AF