Lines Matching refs:m_uniforms
272 int getNumUniforms (void) const { return (int)m_uniforms.size(); }
274 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; }
275 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; }
277 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); }
287 // Add the contents of m_uniforms and m_structTypes to receiver, and remove them from this one.
291 for (int i = 0; i < (int)m_uniforms.size(); i++)
292 receiver.addUniform(m_uniforms[i]);
293 m_uniforms.clear();
302 for (int i = 0; i < (int)m_uniforms.size(); i++)
303 if (typeContainsMatchingBasicType(m_uniforms[i].type, predicate))
311 for (int i = 0; i < (int)m_uniforms.size(); i++)
312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
324 for (int i = 0; i < (int)m_uniforms.size(); i++)
325 sum += getNumSamplersInType(m_uniforms[i].type);
333 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
341 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)));
480 // \note Copying these would be cumbersome, since deep-copying both m_uniforms and m_structTypes
486 vector<Uniform> m_uniforms;