OpenGL.GL.EXT.light_texture
index
/home/mcfletch/pylive/OpenGL/GL/EXT/light_texture.py

OpenGL extension EXT.light_texture
 
This module customises the behaviour of the 
OpenGL.raw.GL.EXT.light_texture to provide a more 
Python-friendly API
 
Overview (from the spec)
        
        This extension defines a general mechanism for substituting the
        fragment color computed during texture environment processing in
        place of other fragment attributes such as the fragment normal, or
        as sources for some of the computations in the fragment processing
        pipeline, for example as material or light parameters in the
        fragment lighting computations.
        
        
        Cf ----------------------+
                                 |                 +-> to lighting parameters
                                 v                 |
        +------------+        +--------+     +-------------+
        |            |        |        |     |             |
        | texel      |------->| texenv |-----| texture     |---> Cf' (to Light Environment
        | generation |        |        |     | application |          or Fog)
        |            |        |        |     |             |
        +------------+        +--------+     +-------------+
        
 
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/light_texture.txt

 
Modules
       
OpenGL.arrays
OpenGL.constant
OpenGL.constants
ctypes
OpenGL.extensions
OpenGL.GL.glget
OpenGL.platform
OpenGL.wrapper

 
Data
        EXTENSION_NAME = 'GL_EXT_light_texture'
GL_ATTENUATION_EXT = GL_ATTENUATION_EXT
GL_FRAGMENT_COLOR_EXT = GL_FRAGMENT_COLOR_EXT
GL_FRAGMENT_MATERIAL_EXT = GL_FRAGMENT_MATERIAL_EXT
GL_FRAGMENT_NORMAL_EXT = GL_FRAGMENT_NORMAL_EXT
GL_SHADOW_ATTENUATION_EXT = GL_SHADOW_ATTENUATION_EXT
GL_TEXTURE_APPLICATION_MODE_EXT = GL_TEXTURE_APPLICATION_MODE_EXT
GL_TEXTURE_LIGHT_EXT = GL_TEXTURE_LIGHT_EXT
GL_TEXTURE_MATERIAL_FACE_EXT = GL_TEXTURE_MATERIAL_FACE_EXT
GL_TEXTURE_MATERIAL_PARAMETER_EXT = GL_TEXTURE_MATERIAL_PARAMETER_EXT
__file__ = '/home/mcfletch/pylive/OpenGL/GL/EXT/light_texture.pyc'
__name__ = 'OpenGL.GL.EXT.light_texture'
__package__ = 'OpenGL.GL.EXT'
glApplyTextureEXT = <OpenGL.platform.baseplatform.glApplyTextureEXT object at 0x76db150>
glTextureLightEXT = <OpenGL.platform.baseplatform.glTextureLightEXT object at 0x76db210>
glTextureMaterialEXT = <OpenGL.platform.baseplatform.glTextureMaterialEXT object at 0x76db2d0>