OpenGL.GL.ARB.shader_objects
index
/build/buildd/pyopengl-3.0.0~b6/OpenGL/GL/ARB/shader_objects.py

OpenGL extension ARB.shader_objects
 
This module customises the behaviour of the 
OpenGL.raw.GL.ARB.shader_objects to provide a more 
Python-friendly API

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

 
Functions
       
_afterCheck(key)
Generate an error-checking function for compilation operations
glGetActiveUniformARB(program, index)
Retrieve the name, size and type of the uniform of the index in the program
glGetAttachedObjectsARB(obj)
Retrieve the attached objects as an array of GLhandleARB instances
glGetInfoLogARB(obj)
Retrieve the program/shader's error messages as a Python string
 
returns string which is '' if no message
glGetObjectParameterfvARB(shader, pname)
Retrieve the float parameter for the given shader
glGetObjectParameterivARB(shader, pname)
Retrieve the integer parameter for the given shader
glGetShaderSourceARB(obj)
Retrieve the program/shader's source code as a Python string
 
returns string which is '' if no source code
glShaderSourceARB( shaderObj,string )
pyConverters: shaderObj=None, string=
stringArray(self, arg, baseOperation, args) method of StringLengths instance
Create basic array-of-strings object from pyArg
cConverters: shaderObj=None, count=
totalCount(self, pyArgs, index, baseOperation) method of StringLengths instance
Get array of length integers for string contents
, string=None, length=<OpenGL.converters.StringLengths object at 0x87a320c>
cResolvers: shaderObj=None, count=None, string=
stringArrayForC(self, strings) method of StringLengths instance
Create a ctypes pointer to char-pointer set
, length=None
storeValues: Not Used
returnValues: Not Used
Wrapping Operation: glShaderSourceARB( GLhandleARB(shaderObj), str( string) ) -> None
glUniform1fvARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9d66c>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform1fvARB( GLint(location), GLsizei(count), GLfloatArray(value) ) -> None
glUniform1ivARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9d734>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform1ivARB( GLint(location), GLsizei(count), GLintArray(value) ) -> None
glUniform2fvARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9d7fc>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform2fvARB( GLint(location), GLsizei(count), GLfloatArray(value) ) -> None
glUniform2ivARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9d8c4>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform2ivARB( GLint(location), GLsizei(count), GLintArray(value) ) -> None
glUniform3fvARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9d98c>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform3fvARB( GLint(location), GLsizei(count), GLfloatArray(value) ) -> None
glUniform3ivARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9da54>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform3ivARB( GLint(location), GLsizei(count), GLintArray(value) ) -> None
glUniform4fvARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9db1c>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform4fvARB( GLint(location), GLsizei(count), GLfloatArray(value) ) -> None
glUniform4ivARB( location,count,value )
pyConverters: location=None, count=None, value=
asArraySize(incoming, function, args)
cConverters: location=None, count=None, value=<OpenGL.converters.getPyArgsName object at 0x8a9dbe4>
cResolvers: Not Used
storeValues: Not Used
returnValues:
returnPointer(result, baseOperation, pyArgs, cArgs)
Return the converted object as result of function
 
Note: this is a hack that always returns pyArgs[0]!
Wrapping Operation: glUniform4ivARB( GLint(location), GLsizei(count), GLintArray(value) ) -> None

 
Data
        EXTENSION_NAME = 'GL_ARB_shader_objects'
GL_BOOL_ARB = GL_BOOL_ARB
GL_BOOL_VEC2_ARB = GL_BOOL_VEC2_ARB
GL_BOOL_VEC3_ARB = GL_BOOL_VEC3_ARB
GL_BOOL_VEC4_ARB = GL_BOOL_VEC4_ARB
GL_FLOAT_MAT2_ARB = GL_FLOAT_MAT2_ARB
GL_FLOAT_MAT3_ARB = GL_FLOAT_MAT3_ARB
GL_FLOAT_MAT4_ARB = GL_FLOAT_MAT4_ARB
GL_FLOAT_VEC2_ARB = GL_FLOAT_VEC2_ARB
GL_FLOAT_VEC3_ARB = GL_FLOAT_VEC3_ARB
GL_FLOAT_VEC4_ARB = GL_FLOAT_VEC4_ARB
GL_INFO_LOG_LENGTH_ARB = GL_INFO_LOG_LENGTH_ARB
GL_INT_VEC2_ARB = GL_INT_VEC2_ARB
GL_INT_VEC3_ARB = GL_INT_VEC3_ARB
GL_INT_VEC4_ARB = GL_INT_VEC4_ARB
GL_OBJECT_ACTIVE_UNIFORMS_ARB = GL_OBJECT_ACTIVE_UNIFORMS_ARB
GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB
GL_OBJECT_ATTACHED_OBJECTS_ARB = GL_OBJECT_ATTACHED_OBJECTS_ARB
GL_OBJECT_COMPILE_STATUS_ARB = GL_OBJECT_COMPILE_STATUS_ARB
GL_OBJECT_DELETE_STATUS_ARB = GL_OBJECT_DELETE_STATUS_ARB
GL_OBJECT_INFO_LOG_LENGTH_ARB = GL_OBJECT_INFO_LOG_LENGTH_ARB
GL_OBJECT_LINK_STATUS_ARB = GL_OBJECT_LINK_STATUS_ARB
GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
GL_OBJECT_SUBTYPE_ARB = GL_OBJECT_SUBTYPE_ARB
GL_OBJECT_TYPE_ARB = GL_OBJECT_TYPE_ARB
GL_OBJECT_VALIDATE_STATUS_ARB = GL_OBJECT_VALIDATE_STATUS_ARB
GL_PROGRAM_OBJECT_ARB = GL_PROGRAM_OBJECT_ARB
GL_SAMPLER_1D_ARB = GL_SAMPLER_1D_ARB
GL_SAMPLER_1D_SHADOW_ARB = GL_SAMPLER_1D_SHADOW_ARB
GL_SAMPLER_2D_ARB = GL_SAMPLER_2D_ARB
GL_SAMPLER_2D_RECT_ARB = GL_SAMPLER_2D_RECT_ARB
GL_SAMPLER_2D_RECT_SHADOW_ARB = GL_SAMPLER_2D_RECT_SHADOW_ARB
GL_SAMPLER_2D_SHADOW_ARB = GL_SAMPLER_2D_SHADOW_ARB
GL_SAMPLER_3D_ARB = GL_SAMPLER_3D_ARB
GL_SAMPLER_CUBE_ARB = GL_SAMPLER_CUBE_ARB
GL_SHADER_OBJECT_ARB = GL_SHADER_OBJECT_ARB
__file__ = '/build/buildd/pyopengl-3.0.0~b6/OpenGL/GL/ARB/shader_objects.py'
__name__ = 'OpenGL.GL.ARB.shader_objects'
base_glGetActiveUniformARB = <OpenGL.platform.baseplatform.glGetActiveUniformARB object at 0x87a3b0c>
base_glGetAttachedObjectsARB = <OpenGL.platform.baseplatform.glGetAttachedObjectsARB object at 0x87a3e2c>
base_glGetInfoLogARB = <OpenGL.platform.baseplatform.glGetInfoLogARB object at 0x87a38cc>
base_glGetObjectParameterfvARB = <OpenGL.platform.baseplatform.glGetObjectParameterfvARB object at 0x87a3e4c>
base_glGetObjectParameterivARB = <OpenGL.platform.baseplatform.glGetObjectParameterivARB object at 0x87a3cec>
base_glGetShaderSourceARB = <OpenGL.platform.baseplatform.glGetShaderSourceARB object at 0x87a334c>
glAttachObjectARB = <OpenGL.platform.baseplatform.glAttachObjectARB object at 0x8a686ac>
glCompileShaderARB = <OpenGL.platform.baseplatform.glCompileShaderARB object at 0x8a68b4c>
glCreateProgramObjectARB = <OpenGL.platform.baseplatform.glCreateProgramObjectARB object at 0x8a6870c>
glCreateShaderObjectARB = <OpenGL.platform.baseplatform.glCreateShaderObjectARB object at 0x8a68aac>
glDeleteObjectARB = <OpenGL.platform.baseplatform.glDeleteObjectARB object at 0x8a688cc>
glDetachObjectARB = <OpenGL.platform.baseplatform.glDetachObjectARB object at 0x8a685ec>
glGetHandleARB = <OpenGL.platform.baseplatform.glGetHandleARB object at 0x8a68eac>
glGetUniformLocationARB = <OpenGL.platform.baseplatform.glGetUniformLocationARB object at 0x87a30ac>
glGetUniformfvARB = <OpenGL.platform.baseplatform.glGetUniformfvARB object at 0x87a3c2c>
glGetUniformivARB = <OpenGL.platform.baseplatform.glGetUniformivARB object at 0x87a3eac>
glLinkProgramARB = <OpenGL.platform.baseplatform.glLinkProgramARB object at 0x8a68ecc>
glUniform1fARB = <OpenGL.platform.baseplatform.glUniform1fARB object at 0x8a683cc>
glUniform1iARB = <OpenGL.platform.baseplatform.glUniform1iARB object at 0x8a68a2c>
glUniform2fARB = <OpenGL.platform.baseplatform.glUniform2fARB object at 0x8a68f6c>
glUniform2iARB = <OpenGL.platform.baseplatform.glUniform2iARB object at 0x8a684ac>
glUniform3fARB = <OpenGL.platform.baseplatform.glUniform3fARB object at 0x8a6878c>
glUniform3iARB = <OpenGL.platform.baseplatform.glUniform3iARB object at 0x87a396c>
glUniform4fARB = <OpenGL.platform.baseplatform.glUniform4fARB object at 0x8a6804c>
glUniform4iARB = <OpenGL.platform.baseplatform.glUniform4iARB object at 0x87a3e0c>
glUniformMatrix2fvARB = <OpenGL.platform.baseplatform.glUniformMatrix2fvARB object at 0x87a3c6c>
glUniformMatrix3fvARB = <OpenGL.platform.baseplatform.glUniformMatrix3fvARB object at 0x87a360c>
glUniformMatrix4fvARB = <OpenGL.platform.baseplatform.glUniformMatrix4fvARB object at 0x87a3dcc>
glUseProgramObjectARB = <OpenGL.platform.baseplatform.glUseProgramObjectARB object at 0x8a6888c>
glValidateProgramARB = <OpenGL.platform.baseplatform.glValidateProgramARB object at 0x8a682ac>
name = 'glUniform4ivARB'