A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://pyopengl.sourceforge.net/documentation/manual-3.0/glProgramUniform.html below:

PyOpenGL 3.1.0 GL Man Pages

Specify the value of a uniform variable for a specified program object Signature glProgramUniform1f

(

GLuint ( program ) , GLint ( location ) , GLfloat ( v0 )

)-> void

glProgramUniform1ui

(

GLuint ( program ) , GLint ( location ) , GLuint ( v0 )

)-> void

glProgramUniform2f

(

GLuint ( program ) , GLint ( location ) , GLfloat ( v0 ) , GLfloat ( v1 )

)-> void

glProgramUniform2i

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLint ( v1 )

)-> void

glProgramUniform2ui

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLuint ( v1 )

)-> void

glProgramUniform3f

(

GLuint ( program ) , GLint ( location ) , GLfloat ( v0 ) , GLfloat ( v1 ) , GLfloat ( v2 )

)-> void

glProgramUniform3i

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLint ( v1 ) , GLint ( v2 )

)-> void

glProgramUniform3ui

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLint ( v1 ) , GLuint ( v2 )

)-> void

glProgramUniform4f

(

GLuint ( program ) , GLint ( location ) , GLfloat ( v0 ) , GLfloat ( v1 ) , GLfloat ( v2 ) , GLfloat ( v3 )

)-> void

glProgramUniform4i

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLint ( v1 ) , GLint ( v2 ) , GLint ( v3 )

)-> void

glProgramUniform4ui

(

GLuint ( program ) , GLint ( location ) , GLint ( v0 ) , GLint ( v1 ) , GLint ( v2 ) , GLuint ( v3 )

)-> void

Parameters Variables Description program

Specifies the handle of the program containing the uniform variable to be modified.

location

Specifies the location of the uniform variable to be modified.

count

For the vector commands ( glProgramUniform*v ), specifies the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.

transpose

For the matrix commands, specifies whether to transpose the matrix as the values are loaded into the uniform variable.

v0, v1, v2, v3

For the scalar commands, specifies the new values to be used for the specified uniform variable.

value

For the vector and matrix commands, specifies a pointer to an array of

count

values that will be used to update the specified uniform variable.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4