OpenGL.GL.ARB.shader_objects
index
/tmp/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 0x8e7f16c>
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 0x8cbb48c>
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 0x8cbb554>
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 0x8cbb61c>
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 0x8cbb6e4>
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 0x8cbb7ac>
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 0x8cbb874>
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 0x8cbb93c>
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 0x8cbba04>
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__ = '/tmp/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 0x8e772ec>
base_glGetAttachedObjectsARB = <OpenGL.platform.baseplatform.glGetAttachedObjectsARB object at 0x8e77c6c>
base_glGetInfoLogARB = <OpenGL.platform.baseplatform.glGetInfoLogARB object at 0x8e77eec>
base_glGetObjectParameterfvARB = <OpenGL.platform.baseplatform.glGetObjectParameterfvARB object at 0x8e777ec>
base_glGetObjectParameterivARB = <OpenGL.platform.baseplatform.glGetObjectParameterivARB object at 0x8e77ccc>
base_glGetShaderSourceARB = <OpenGL.platform.baseplatform.glGetShaderSourceARB object at 0x8e7ff4c>
glAttachObjectARB = <OpenGL.platform.baseplatform.glAttachObjectARB object at 0x8e77d8c>
glCompileShaderARB = <OpenGL.platform.baseplatform.glCompileShaderARB object at 0x8e7788c>
glCreateProgramObjectARB = <OpenGL.platform.baseplatform.glCreateProgramObjectARB object at 0x8e77cac>
glCreateShaderObjectARB = <OpenGL.platform.baseplatform.glCreateShaderObjectARB object at 0x8e774ac>
glDeleteObjectARB = <OpenGL.platform.baseplatform.glDeleteObjectARB object at 0x8e7758c>
glDetachObjectARB = <OpenGL.platform.baseplatform.glDetachObjectARB object at 0x8e771ec>
glGetHandleARB = <OpenGL.platform.baseplatform.glGetHandleARB object at 0x8e7792c>
glGetUniformLocationARB = <OpenGL.platform.baseplatform.glGetUniformLocationARB object at 0x8e77a8c>
glGetUniformfvARB = <OpenGL.platform.baseplatform.glGetUniformfvARB object at 0x8e7f1ac>
glGetUniformivARB = <OpenGL.platform.baseplatform.glGetUniformivARB object at 0x8e7fa6c>
glLinkProgramARB = <OpenGL.platform.baseplatform.glLinkProgramARB object at 0x8e772cc>
glUniform1fARB = <OpenGL.platform.baseplatform.glUniform1fARB object at 0x8e7774c>
glUniform1iARB = <OpenGL.platform.baseplatform.glUniform1iARB object at 0x8e77dec>
glUniform2fARB = <OpenGL.platform.baseplatform.glUniform2fARB object at 0x8e777cc>
glUniform2iARB = <OpenGL.platform.baseplatform.glUniform2iARB object at 0x8e77a0c>
glUniform3fARB = <OpenGL.platform.baseplatform.glUniform3fARB object at 0x8e7730c>
glUniform3iARB = <OpenGL.platform.baseplatform.glUniform3iARB object at 0x8e77a4c>
glUniform4fARB = <OpenGL.platform.baseplatform.glUniform4fARB object at 0x8e77c8c>
glUniform4iARB = <OpenGL.platform.baseplatform.glUniform4iARB object at 0x8e7776c>
glUniformMatrix2fvARB = <OpenGL.platform.baseplatform.glUniformMatrix2fvARB object at 0x8e77b4c>
glUniformMatrix3fvARB = <OpenGL.platform.baseplatform.glUniformMatrix3fvARB object at 0x8e77e4c>
glUniformMatrix4fvARB = <OpenGL.platform.baseplatform.glUniformMatrix4fvARB object at 0x8e775ec>
glUseProgramObjectARB = <OpenGL.platform.baseplatform.glUseProgramObjectARB object at 0x8e776cc>
glValidateProgramARB = <OpenGL.platform.baseplatform.glValidateProgramARB object at 0x8e77f0c>
name = 'glUniform4ivARB'