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/glGetUniformLocation.html below:

PyOpenGL 3.1.0 GL Man Pages

Returns the location of a uniform variable Signature glGetUniformLocation

(

GLuint ( program ) , const GLchar *( name )

)-> GLint

glGetUniformLocation

(

program , name

)

-> <class 'ctypes.c_int'>
Check that name is a string with a null byte at the end of it
Parameters Variables Description program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glGetUniformLocation

{GPL3} OpenGL-Programmable 08-pbo.py

Lines:

112

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