Searched defs:diffuseColor (Results 1 - 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/main/ |
H A D | rastpos.c | 128 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ local 130 COPY_3V(diffuseColor, base[0]); 131 diffuseColor[3] = CLAMP( 187 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); 241 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); 245 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F); 246 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F); 247 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F); 248 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F);
|
/external/swiftshader/src/Renderer/ |
H A D | VertexProcessor.cpp | 411 void VertexProcessor::setMaterialDiffuse(const Color<float> &diffuseColor) argument 413 ff.materialDiffuse[0] = diffuseColor.r; 414 ff.materialDiffuse[1] = diffuseColor.g; 415 ff.materialDiffuse[2] = diffuseColor.b; 416 ff.materialDiffuse[3] = diffuseColor.a;
|
Completed in 134 milliseconds