module Graphics.Rendering.OpenGL.Raw.EXT.LightTexture (
glApplyTexture,
glTextureLight,
glTextureMaterial,
gl_FRAGMENT_MATERIAL,
gl_FRAGMENT_NORMAL,
gl_FRAGMENT_DEPTH,
gl_FRAGMENT_COLOR,
gl_ATTENUATION,
gl_SHADOW_ATTENUATION,
gl_TEXTURE_APPLICATION_MODE,
gl_TEXTURE_LIGHT,
gl_TEXTURE_MATERIAL_FACE,
gl_TEXTURE_MATERIAL_PARAMETER
) where
import Foreign.C.Types
import Graphics.Rendering.OpenGL.Raw.ARB.Compatibility
import Graphics.Rendering.OpenGL.Raw.Core32
import Graphics.Rendering.OpenGL.Raw.Extensions
#include "HsOpenGLRaw.h"
extensionNameString :: String
extensionNameString = "GL_EXT_light_texture"
EXTENSION_ENTRY(dyn_glApplyTexture,ptr_glApplyTexture,"glApplyTexture",glApplyTexture,GLenum -> IO ())
EXTENSION_ENTRY(dyn_glTextureLight,ptr_glTextureLight,"glTextureLight",glTextureLight,GLenum -> IO ())
EXTENSION_ENTRY(dyn_glTextureMaterial,ptr_glTextureMaterial,"glTextureMaterial",glTextureMaterial,GLenum -> GLenum -> IO ())
gl_FRAGMENT_MATERIAL :: GLenum
gl_FRAGMENT_MATERIAL = 0x8349
gl_FRAGMENT_NORMAL :: GLenum
gl_FRAGMENT_NORMAL = 0x834A
gl_FRAGMENT_COLOR :: GLenum
gl_FRAGMENT_COLOR = 0x834C
gl_ATTENUATION :: GLenum
gl_ATTENUATION = 0x834D
gl_SHADOW_ATTENUATION :: GLenum
gl_SHADOW_ATTENUATION = 0x834E
gl_TEXTURE_APPLICATION_MODE :: GLenum
gl_TEXTURE_APPLICATION_MODE = 0x834F
gl_TEXTURE_LIGHT :: GLenum
gl_TEXTURE_LIGHT = 0x8350
gl_TEXTURE_MATERIAL_FACE :: GLenum
gl_TEXTURE_MATERIAL_FACE = 0x8351
gl_TEXTURE_MATERIAL_PARAMETER :: GLenum
gl_TEXTURE_MATERIAL_PARAMETER = 0x8352