Pass* Technique::GetSupportedPass(const ea::string& name) const { auto i = passIndices.find(name.to_lower()); return i != passIndices.end() ? GetSupportedPass(i->second) : nullptr; }
Pass* Technique::GetSupportedPass(const String& name) const { HashMap<String, unsigned>::ConstIterator i = passIndices.Find(name.ToLower()); return i != passIndices.End() ? GetSupportedPass(i->second_) : 0; }