Lines Matching refs:paramSets
102 const vector<BlendParams>& paramSets);
133 const vector<BlendParams>& paramSets)
135 , m_paramSets (paramSets)
366 vector<BlendParams> paramSets;
367 paramSets.push_back(BlendParams(eq.glValue, src.glValue, dst.glValue, eq.glValue, src.glValue, dst.glValue, defaultBlendColor));
369 group->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));
404 vector<BlendParams> paramSets;
405 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ONE, GL_FUNC_ADD, funcAlpha.glValue, GL_ONE, defaultBlendColor));
406 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_ZERO, GL_FUNC_ADD, funcAlpha.glValue, GL_ZERO, defaultBlendColor));
407 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_SRC_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_SRC_COLOR, defaultBlendColor));
408 paramSets.push_back(BlendParams(GL_FUNC_ADD, funcRGB.glValue, GL_DST_COLOR, GL_FUNC_ADD, funcAlpha.glValue, GL_DST_COLOR, defaultBlendColor));
414 for (int i = 0; i < (int)paramSets.size(); i++)
416 std::swap(paramSets[i].srcFuncRGB, paramSets[i].dstFuncRGB);
417 std::swap(paramSets[i].srcFuncAlpha, paramSets[i].dstFuncAlpha);
421 curGroup->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));
442 vector<BlendParams> paramSets;
443 paramSets.push_back(BlendParams(eqRGB.glValue, GL_ONE, GL_ONE, eqAlpha.glValue, GL_ONE, GL_ONE, defaultBlendColor));
445 group->addChild(new BlendCase(m_context, name.c_str(), description.c_str(), paramSets));