OpenGL.GL.APPLE.vertex_program_evaluators | index /home/mcfletch/pylive/OpenGL/GL/APPLE/vertex_program_evaluators.py |
OpenGL extension APPLE.vertex_program_evaluators
This module customises the behaviour of the
OpenGL.raw.GL.APPLE.vertex_program_evaluators to provide a more
Python-friendly API
Overview (from the spec)
This extension allows the one- and two-dimensional evaluators to be used
with vertex program attributes. The operation of this extension is
precisely analogous to the operation of the normal evaluators.
Where normal evaluators are enabled with Enable(MAP1_VERTEX_3), for
example, attribute evaluators are enabled with
EnableVertexAttribAPPLE(index, VERTEX_ATTRIB_MAP1_APPLE).
Where the size (1, 2, 3, or 4) of a normal evaluator is embedded in the
token for that evaluator (for example, MAP1_VERTEX_3 has size 3),
attribute evaluators give the size as an argument to MapVertexAttrib**APPLE.
The 1D and 2D evaluator order, domain, and coefficients are given as
arguments to MapVertexAttrib**APPLE, with exactly the same meaning and
restrictions as the same arguments to Map1f, Map2f, Map1d, & Map2d.
The evaluator order, domain, and coefficients may be queried with
GetVertexAttrib*vARB, with the same operation as GetMap*v.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/APPLE/vertex_program_evaluators.txt
Modules | ||||||
|
Data | ||
EXTENSION_NAME = 'GL_APPLE_vertex_program_evaluators' GL_VERTEX_ATTRIB_MAP1_APPLE = GL_VERTEX_ATTRIB_MAP1_APPLE GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE GL_VERTEX_ATTRIB_MAP2_APPLE = GL_VERTEX_ATTRIB_MAP2_APPLE GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE __file__ = '/home/mcfletch/pylive/OpenGL/GL/APPLE/vertex_program_evaluators.pyc' __name__ = 'OpenGL.GL.APPLE.vertex_program_evaluators' __package__ = 'OpenGL.GL.APPLE' glDisableVertexAttribAPPLE = <OpenGL.platform.baseplatform.glDisableVertexAttribAPPLE object at 0x77d1c90> glEnableVertexAttribAPPLE = <OpenGL.platform.baseplatform.glEnableVertexAttribAPPLE object at 0x77d1c50> glIsVertexAttribEnabledAPPLE = <OpenGL.platform.baseplatform.glIsVertexAttribEnabledAPPLE object at 0x77d1d10> glMapVertexAttrib1dAPPLE = <OpenGL.platform.baseplatform.glMapVertexAttrib1dAPPLE object at 0x77d1d90> glMapVertexAttrib1fAPPLE = <OpenGL.platform.baseplatform.glMapVertexAttrib1fAPPLE object at 0x77d1710> glMapVertexAttrib2dAPPLE = <OpenGL.platform.baseplatform.glMapVertexAttrib2dAPPLE object at 0x77d1e10> glMapVertexAttrib2fAPPLE = <OpenGL.platform.baseplatform.glMapVertexAttrib2fAPPLE object at 0x77d1ed0> |