Signature
glMaterial()->
Parameters
Variables | Description |
---|---|
face |
Specifies which face or faces are being updated.
Must be one of
GL_FRONT
,
GL_BACK
, or
GL_FRONT_AND_BACK
.
|
pname |
Specifies the single-valued material parameter of the face or faces
that is being updated.
Must be
GL_SHININESS
.
|
param |
Specifies the value that parameter
GL_SHININESS
will be set to.
|
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.
glMaterial
glMaterialf
glMaterialfv
{Artistic License} PymmLib
mmLib/OpenGLDriver.py
Lines: 377, 378, 379, 380, 381, 404, 405, 406, 407, 408