Home | History | Annotate | Download | only in tnl

Lines Matching refs:Material

51  * Information for updating current material attributes from vertex color,
57 GLfloat *current; /* points to material attribute to update */
178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0];
182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0];
189 * In the case of colormaterial, the effected material attributes
192 * This function copies the vertex's color to the material attributes
202 /* update the material */
208 /* recompute derived light/material values */
219 * Return number of material attributes which will track vertex color.
231 * track vertex color. Override the material attribute's pointer
241 /* Now, for each material attribute that's tracking vertex color, save
244 * the material attribute(s).
253 store->mat[j].current = ctx->Light.Material.Attrib[attr];