Lines Matching defs:indentationDepth
99 typedef std::string (*BasicTypeVisitFunc)(const std::string& name, glu::DataType type, int indentationDepth); //!< See glslTraverseBasicTypes below.
110 const int indentationDepth,
112 virtual std::string glslTraverseBasicType (const int indentationDepth,
121 const int indentationDepth,
125 return visit(rootName, rootType.getBasicType(), indentationDepth);
128 const std::string indentation = std::string(indentationDepth, '\t');
133 glslTraverseBasicTypes(rootName + "[" + loopIndexName + "]", rootType.getElementType(), arrayNestingDepth+1, indentationDepth+1, visit) +
145 result += glslTraverseBasicTypes(rootName + "." + member.getName(), member.getType(), arrayNestingDepth, indentationDepth, visit);
158 std::string glslAssignBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth)
161 const std::string indentation = std::string(indentationDepth, '\t');
178 std::string glslCheckBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth)
181 const std::string indentation = std::string(indentationDepth, '\t');
259 std::string glslTraverseBasicTypeArray (const int numArrayElements, const int indentationDepth, BasicTypeVisitFunc) const;
260 std::string glslTraverseBasicType (const int indentationDepth, BasicTypeVisitFunc) const;
282 std::string Variable::glslTraverseBasicTypeArray (const int numArrayElements, const int indentationDepth, BasicTypeVisitFunc visit) const
290 return glslTraverseBasicTypes(traversedName, type, 0, indentationDepth, visit);
293 std::string Variable::glslTraverseBasicType (const int indentationDepth, BasicTypeVisitFunc visit) const
296 return glslTraverseBasicTypes(m_name, m_type, 0, indentationDepth, visit);
340 std::string glslTraverseBasicTypeArray (const int numArrayElements, const int indentationDepth, BasicTypeVisitFunc) const;
341 std::string glslTraverseBasicType (const int indentationDepth, BasicTypeVisitFunc) const;
379 std::string IOBlock::glslTraverseBasicTypeArray (const int numArrayElements, const int indentationDepth, BasicTypeVisitFunc visit) const
383 const std::string indentation = std::string(indentationDepth, '\t');
389 result << glslTraverseBasicTypes(m_interfaceName + "[i0]." + m_members[i].name, m_members[i].type, 1, indentationDepth + 1, visit);
397 result << glslTraverseBasicTypes(m_interfaceName + "[gl_InvocationID]." + m_members[i].name, m_members[i].type, 0, indentationDepth, visit);
402 std::string IOBlock::glslTraverseBasicType (const int indentationDepth, BasicTypeVisitFunc visit) const
406 result << glslTraverseBasicTypes(m_interfaceName + "." + m_members[i].name, m_members[i].type, 0, indentationDepth, visit);