Home | History | Annotate | Download | only in functional

Lines Matching refs:paramSets

101 										 const vector<BlendParams>&		paramSets);
132 const vector<BlendParams>& paramSets)
134 , m_paramSets (paramSets)
361 vector<BlendParams> paramSets;
362 paramSets.push_back(BlendParams(eq.glValue, src.glValue, dst.glValue, eq.glValue, src.glValue, dst.glValue, defaultBlendColor));
364 group->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));
399 vector<BlendParams> paramSets;
400 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ONE, GL_FUNC_ADD, funcAlpha.glValue, GL_ONE, defaultBlendColor));
401 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ZERO, GL_FUNC_ADD, funcAlpha.glValue, GL_ZERO, defaultBlendColor));
402 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_SRC_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_SRC_COLOR, defaultBlendColor));
403 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_DST_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_DST_COLOR, defaultBlendColor));
409 for (int i = 0; i < (int)paramSets.size(); i++)
411 std::swap(paramSets[i].srcFuncRGB, paramSets[i].dstFuncRGB);
412 std::swap(paramSets[i].srcFuncAlpha, paramSets[i].dstFuncAlpha);
416 curGroup->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));
437 vector<BlendParams> paramSets;
438 paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, defaultBlendColor));
440 group->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));