Searched refs:Color0 (Results 1 – 11 of 11) sorted by relevance
671 (diffuseMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexDiffuseMaterialSourceActive()688 (specularMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexSpecularMaterialSourceActive()705 (ambientMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexAmbientMaterialSourceActive()722 (emissiveMaterialSource == MATERIAL_COLOR1 && !input[Color0]) || in vertexEmissiveMaterialSourceActive()1271 vertexDiffuse = input[Color0] || lightingEnable; in diffuseActive()1275 vertexDiffuse = input[Color0]; in diffuseActive()
43 Color0 = 5, enumerator
1017 if(context->diffuseActive() && (context->lightingEnable || context->input[Color0])) in update()1051 if(context->input[Color0 + i]) in update()
195 if(state.diffuseActive && state.input[Color0]) in pipeline()197 Vector4f diffuse = v[Color0]; in pipeline()314 diff = v[Color0]; in pipeline()365 spec = v[Color0]; in pipeline()412 Vector4f materialDiffuse = v[Color0]; in pipeline()443 Vector4f materialSpecular = v[Color0]; in pipeline()466 Vector4f alpha = v[Color0]; in pipeline()485 Vector4f alpha = v[Color0]; in pipeline()
636 o[C0 + i].x = v[Color0 + i].x; in passThrough()637 o[C0 + i].y = v[Color0 + i].y; in passThrough()638 o[C0 + i].z = v[Color0 + i].z; in passThrough()639 o[C0 + i].w = v[Color0 + i].w; in passThrough()
181 mState.vertexAttribute[sw::Color0].mCurrentValue[0] = 1.0f; in Context()182 mState.vertexAttribute[sw::Color0].mCurrentValue[1] = 1.0f; in Context()183 mState.vertexAttribute[sw::Color0].mCurrentValue[2] = 1.0f; in Context()184 mState.vertexAttribute[sw::Color0].mCurrentValue[3] = 1.0f; in Context()3433 v.C.x = mState.vertexAttribute[sw::Color0].mCurrentValue[0]; in position()3434 v.C.y = mState.vertexAttribute[sw::Color0].mCurrentValue[1]; in position()3435 v.C.z = mState.vertexAttribute[sw::Color0].mCurrentValue[2]; in position()3436 v.C.w = mState.vertexAttribute[sw::Color0].mCurrentValue[3]; in position()3476 setVertexAttribState(sw::Color0, 0, 4, GL_FLOAT, false, sizeof(InVertex), &vertex[0].C); in end()3482 mState.vertexAttribute[sw::Color0].mArrayEnabled = true; in end()
5669 context->setVertexAttrib(sw::Color0, red, green, blue, 1); in glColor3f()5763 context->setVertexAttrib(sw::Color0, red, green, blue, alpha); in glColor4f()5856 glVertexAttribPointer(sw::Color0, size, type, true, stride, pointer); in glColorPointer()5917 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, false); … in glDisableClientState()5963 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, true); … in glEnableClientState()
210 setVertexAttrib(sw::Color0, 1.0f, 1.0f, 1.0f, 1.0f); in Context()1184 params[i] = mState.vertexAttribute[sw::Color0].mCurrentValue[i]; in getFloatv()1400 …case GL_COLOR_ARRAY_SIZE: *params = mState.vertexAttribute[sw::Color0].mSize; … in getIntegerv()1401 …case GL_COLOR_ARRAY_TYPE: *params = mState.vertexAttribute[sw::Color0].mType; … in getIntegerv()1402 …case GL_COLOR_ARRAY_STRIDE: *params = mState.vertexAttribute[sw::Color0].mStride;… in getIntegerv()1403 …case GL_COLOR_ARRAY_BUFFER_BINDING: *params = mState.vertexAttribute[sw::Color0].mBoundBu… in getIntegerv()1421 …case GL_COLOR_ARRAY_POINTER: *params = mState.vertexAttribute[sw::Color0].mPointer; … in getPointerv()3395 mState.vertexAttribute[sw::Color0].mArrayEnabled = enable; in setColorArrayEnabled()3400 return mState.vertexAttribute[sw::Color0].mArrayEnabled; in isColorArrayEnabled()
587 context->setVertexAttrib(sw::Color0, red, green, blue, alpha); in Color4f()665 VertexAttribPointer(sw::Color0, size, type, true, stride, pointer); in ColorPointer()1253 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, false); … in DisableClientState()1390 …case GL_COLOR_ARRAY: context->setVertexAttribArrayEnabled(sw::Color0, true); … in EnableClientState()
4441 renderer->setInputStream(sw::Color0, attribute.define(buffer, sw::STREAMTYPE_COLOR, 4)); in bindStreams()4544 case D3DVSDE_DIFFUSE: renderer->setInputStream(sw::Color0, attribute); break; in bindStreams()
5831 …case D3DDECLUSAGE_COLOR: renderer->setInputStream(sw::Color0 + index, attribute.define(sw::… in bindVertexStreams()