{-# 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.Core31.Types
import Graphics.Rendering.OpenGL.Raw.Extensions

#include "HsOpenGLRaw.h"

extensionNameString :: String
extensionNameString = "GL_EXT_texture_perturb_normal"

EXTENSION_ENTRY(dyn_glTextureNormal,ptr_glTextureNormal,"glTextureNormal",glTextureNormal,GLenum -> IO ())

gl_PERTURB :: GLenum
gl_PERTURB = 0x85AE

gl_TEXTURE_NORMAL :: GLenum
gl_TEXTURE_NORMAL = 0x85AF