OpenGL.GL.ARB.shader_objects
index
/build/buildd/pyopengl-3.0.0~b3/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
base_glGetActiveUniformARB = glGetActiveUniformARB(...)
glGetActiveUniformARB( GLhandleARB(programObj), GLuint(index), GLsizei(maxLength), GLsizeiArray(length), GLintArray(size), GLuintArray(type), GLcharARBArray(name) ) -> None
base_glGetAttachedObjectsARB = glGetAttachedObjectsARB(...)
glGetAttachedObjectsARB( GLhandleARB(containerObj), GLsizei(maxCount), GLsizeiArray(count), GLuintArray(obj) ) -> None
base_glGetInfoLogARB = glGetInfoLogARB(...)
glGetInfoLogARB( GLhandleARB(obj), GLsizei(maxLength), GLsizeiArray(length), GLcharARBArray(infoLog) ) -> None
base_glGetObjectParameterfvARB = glGetObjectParameterfvARB(...)
glGetObjectParameterfvARB( GLhandleARB(obj), GLenum(pname), GLfloatArray(params) ) -> None
base_glGetObjectParameterivARB = glGetObjectParameterivARB(...)
glGetObjectParameterivARB( GLhandleARB(obj), GLenum(pname), GLintArray(params) ) -> None
base_glGetShaderSourceARB = glGetShaderSourceARB(...)
glGetShaderSourceARB( GLhandleARB(obj), GLsizei(maxLength), GLsizeiArray(length), GLcharARBArray(source) ) -> None
glAttachObjectARB(...)
glAttachObjectARB( GLhandleARB(containerObj), GLhandleARB(obj) ) -> None
glCompileShaderARB(...)
glCompileShaderARB( GLhandleARB(shaderObj) ) -> None
glCreateProgramObjectARB(...)
glCreateProgramObjectARB(  ) -> constants.GLhandleARB
glCreateShaderObjectARB(...)
glCreateShaderObjectARB( GLenum(shaderType) ) -> constants.GLhandleARB
glDeleteObjectARB(...)
glDeleteObjectARB( GLhandleARB(obj) ) -> None
glDetachObjectARB(...)
glDetachObjectARB( GLhandleARB(containerObj), GLhandleARB(attachedObj) ) -> None
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
glGetHandleARB(...)
glGetHandleARB( GLenum(pname) ) -> constants.GLhandleARB
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
glGetUniformLocationARB(...)
glGetUniformLocationARB( GLhandleARB(programObj), GLcharARBArray(name) ) -> constants.GLint
glGetUniformfvARB(...)
glGetUniformfvARB( GLhandleARB(programObj), GLint(location), GLfloatArray(params) ) -> None
glGetUniformivARB(...)
glGetUniformivARB( GLhandleARB(programObj), GLint(location), GLintArray(params) ) -> None
glLinkProgramARB(...)
glLinkProgramARB( GLhandleARB(programObj) ) -> None
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 0x829e82c>
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
glUniform1fARB(...)
glUniform1fARB( GLint(location), GLfloat(v0) ) -> 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 0x86b9374>
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
glUniform1iARB(...)
glUniform1iARB( GLint(location), GLint(v0) ) -> 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 0x86b9414>
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
glUniform2fARB(...)
glUniform2fARB( GLint(location), GLfloat(v0), GLfloat(v1) ) -> 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 0x86b94b4>
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
glUniform2iARB(...)
glUniform2iARB( GLint(location), GLint(v0), GLint(v1) ) -> 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 0x86b9554>
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
glUniform3fARB(...)
glUniform3fARB( GLint(location), GLfloat(v0), GLfloat(v1), GLfloat(v2) ) -> 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 0x86b95f4>
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
glUniform3iARB(...)
glUniform3iARB( GLint(location), GLint(v0), GLint(v1), GLint(v2) ) -> 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 0x86b9694>
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
glUniform4fARB(...)
glUniform4fARB( GLint(location), GLfloat(v0), GLfloat(v1), GLfloat(v2), GLfloat(v3) ) -> 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 0x86b9734>
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
glUniform4iARB(...)
glUniform4iARB( GLint(location), GLint(v0), GLint(v1), GLint(v2), GLint(v3) ) -> 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 0x86b97d4>
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
glUniformMatrix2fvARB(...)
glUniformMatrix2fvARB( GLint(location), GLsizei(count), GLboolean(transpose), GLfloatArray(value) ) -> None
glUniformMatrix3fvARB(...)
glUniformMatrix3fvARB( GLint(location), GLsizei(count), GLboolean(transpose), GLfloatArray(value) ) -> None
glUniformMatrix4fvARB(...)
glUniformMatrix4fvARB( GLint(location), GLsizei(count), GLboolean(transpose), GLfloatArray(value) ) -> None
glUseProgramObjectARB(...)
glUseProgramObjectARB( GLhandleARB(programObj) ) -> None
glValidateProgramARB(...)
glValidateProgramARB( GLhandleARB(programObj) ) -> None

 
Data
        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~b3/OpenGL/GL/ARB/shader_objects.py'
__name__ = 'OpenGL.GL.ARB.shader_objects'
name = 'glUniform4ivARB'