OpenGL.GL.ARB.ES2_compatibility
OpenGL extension ARB.ES2_compatibility
This module customises the behaviour of the
OpenGL.raw.GL.ARB.ES2_compatibility to provide a more
Python-friendly API
Overview (from the spec)
This extension adds support for features of OpenGL ES 2.0 that are
missing from OpenGL 3.x. Enabling these features will ease the process
of porting applications from OpenGL ES 2.0 to OpenGL.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/ES2_compatibility.txt
Functions
glGetShaderPrecisionFormat(
shadertype
,
precisiontype
,
range
= None
,
precision
= None
)
Provides range and precision if not provided, returns (range,precision)
Constants
GL_FIXED (5132)
GL_HIGH_FLOAT (36338)
GL_HIGH_INT (36341)
GL_IMPLEMENTATION_COLOR_READ_FORMAT (35739)
GL_IMPLEMENTATION_COLOR_READ_TYPE (35738)
GL_LOW_FLOAT (36336)
GL_LOW_INT (36339)
GL_MAX_FRAGMENT_UNIFORM_VECTORS (36349)
GL_MAX_VARYING_VECTORS (36348)
GL_MAX_VERTEX_UNIFORM_VECTORS (36347)
GL_MEDIUM_FLOAT (36337)
GL_MEDIUM_INT (36340)
GL_NUM_SHADER_BINARY_FORMATS (36345)
GL_RGB565 (36194)
GL_SHADER_BINARY_FORMATS (36344)
GL_SHADER_COMPILER (36346)