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

PyOpenGL 3.1.0 GL Man Pages

return material parameters Signature glGetMaterialfv

(

GLenum ( face ) , GLenum ( pname ) , GLfloat * ( params )

)-> void

glGetMaterialiv

(

GLenum ( face ) , GLenum ( pname ) , GLint * ( params )

)-> void

Parameters Variables Description face

Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.

pname

Specifies the material parameter to return. GL_AMBIENT , GL_DIFFUSE , GL_SPECULAR , GL_EMISSION , GL_SHININESS , and GL_COLOR_INDEXES are accepted.

params

Returns the requested data.

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.


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