Lines Matching refs:m_uniforms
338 int getNumUniforms (void) const { return (int)m_uniforms.size(); }
340 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; }
341 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; }
343 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); }
353 // Add the contents of m_uniforms and m_structTypes to receiver, and remove them from this one.
357 for (int i = 0; i < (int)m_uniforms.size(); i++)
358 receiver.addUniform(m_uniforms[i]);
359 m_uniforms.clear();
368 for (int i = 0; i < (int)m_uniforms.size(); i++)
369 if (typeContainsMatchingBasicType(m_uniforms[i].type, predicate))
377 for (int i = 0; i < (int)m_uniforms.size(); i++)
378 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
390 for (int i = 0; i < (int)m_uniforms.size(); i++)
391 sum += getNumSamplersInType(m_uniforms[i].type);
399 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
407 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)));
546 // \note Copying these would be cumbersome, since deep-copying both m_uniforms and m_structTypes
552 vector<Uniform> m_uniforms;