Home | History | Annotate | Download | only in glshared

Lines Matching refs:structType

143 VarType::VarType (const StructType* structPtr)
179 // StructType implementation.
181 void StructType::addMember (const char* name, const VarType& type, deUint32 flags)
309 for (std::vector<StructType*>::iterator i = m_structs.begin(); i != m_structs.end(); i++)
316 StructType& ShaderInterface::allocStruct (const char* name)
319 m_structs.push_back(new StructType(name));
329 bool operator() (const StructType* type) const
335 const StructType* ShaderInterface::findStruct (const char* name) const
337 std::vector<StructType*>::const_iterator pos = std::find_if(m_structs.begin(), m_structs.end(), StructNameEquals(name));
341 void ShaderInterface::getNamedStructs (std::vector<const StructType*>& structs) const
343 for (std::vector<StructType*>::const_iterator i = m_structs.begin(); i != m_structs.end(); i++)
446 for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct().end(); memberIter++)
570 for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct().end(); memberIter++)
754 for (StructType::ConstIterator iter = type.getStruct().begin(); iter != type.getStruct().end(); ++iter)
814 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
816 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
817 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel);
819 void generateDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel)
821 DE_ASSERT(structType.getTypeName() != DE_NULL);
822 generateFullDeclaration(src, structType, indentLevel);
826 void generateFullDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel)
829 if (structType.getTypeName())
830 src << " " << structType.getTypeName();
833 for (StructType::ConstIterator memberIter = structType.begin(); memberIter != structType.end(); memberIter++)
842 void generateLocalDeclaration (std::ostringstream& src, const StructType& structType, int indentLevel)
844 if (structType.getTypeName() == DE_NULL)
845 generateFullDeclaration(src, structType, indentLevel);
847 src << structType.getTypeName();
1042 for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct().end(); memberIter++)
1101 std::vector<const StructType*> namedStructs;
1103 for (std::vector<const StructType*>::const_iterator structIter = namedStructs.begin(); structIter != namedStructs.end(); structIter++)
1139 std::vector<const StructType*> namedStructs;
1141 for (std::vector<const StructType*>::const_iterator structIter = namedStructs.begin(); structIter != namedStructs.end(); structIter++)