Lines Matching refs:m_uniforms
318 int getNumUniforms (void) const { return (int)m_uniforms.size(); }
320 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; }
321 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; }
323 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); }
333 // Add the contents of m_uniforms and m_structTypes to receiver, and remove them from this one.
337 for (int i = 0; i < (int)m_uniforms.size(); i++)
338 receiver.addUniform(m_uniforms[i]);
339 m_uniforms.clear();
348 for (int i = 0; i < (int)m_uniforms.size(); i++)
349 if (typeContainsMatchingBasicType(m_uniforms[i].type, predicate))
357 for (int i = 0; i < (int)m_uniforms.size(); i++)
358 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
370 for (int i = 0; i < (int)m_uniforms.size(); i++)
371 sum += getNumSamplersInType(m_uniforms[i].type);
379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)));
497 // \note Copying these would be cumbersome, since deep-copying both m_uniforms and m_structTypes
503 vector<Uniform> m_uniforms;