void glMaterialf( GLenum face,
GLenum pname,
GLfloat param);
void glMateriali( GLenum face,
GLenum pname,
GLint param);
face
Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
指定要更新的面。必须是 GL_FRONT、GL_BACK 或 GL_FRONT_AND_BACK 之一。
pname
Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
指定正在更新的一个或多个面的单值材料参数。必须是 GL_SHININESS。
param
Specifies the value that parameter GL_SHININESS will be set to.
指定参数 GL_SHININESS 将设置为的值。
void glMaterialfv( GLenum face,
GLenum pname,
const GLfloat * params);
void glMaterialiv( GLenum face,
GLenum pname,
const GLint * params);
face
Specifies which face or faces are being upda