(
GLenum ( face ) , GLenum ( pname ) , GLfloat * ( params ))-> void
glGetMaterialiv(
GLenum ( face ) , GLenum ( pname ) , GLint * ( params ))-> void
Parameters Variables Description faceSpecifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
pnameSpecifies the material parameter to return. GL_AMBIENT , GL_DIFFUSE , GL_SPECULAR , GL_EMISSION , GL_SHININESS , and GL_COLOR_INDEXES are accepted.
paramsReturns the requested data.
Sample Code ReferencesThe 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