5#include <Common/assertion.h>
6#include <Common/Container/StdUnorderedStringSet.h>
12#include <unordered_set>
24 std::string_view clausesName);
30 std::string_view clausesName);
45 const std::string&
getName(std::size_t index)
const;
52 std::string_view clausesName);
60 std::vector<NamedClauses> m_namedClauses;
61 StdUnorderedStringSet m_clausesNames;
66 return m_namedClauses.size();
71 PH_ASSERT_LT(index, m_namedClauses.size());
73 return m_namedClauses[index].name;
78 PH_ASSERT_LT(index, m_namedClauses.size());
80 return m_namedClauses[index].clauses;
85 m_namedClauses.clear();
87 m_clausesNames.clear();
Definition SdlNamedOutputClauses.h:18
void addOrUpdate(SdlOutputClauses clauses, std::string_view clausesName)
Add a named output clauses. Potentially update the existing one.
Definition SdlNamedOutputClauses.cpp:33
const SdlOutputClauses & getOutputClauses(std::size_t index) const
Definition SdlNamedOutputClauses.h:76
void addUnique(SdlOutputClauses clauses, std::string_view clausesName)
Add a unique named output clauses.
Definition SdlNamedOutputClauses.cpp:13
void clear()
Definition SdlNamedOutputClauses.h:83
std::size_t numNamedOutputClauses() const
Definition SdlNamedOutputClauses.h:64
const std::string & getName(std::size_t index) const
Get named output clauses data. Ordering is the same as how they were added. The ones added later will...
Definition SdlNamedOutputClauses.h:69
Definition SdlOutputClauses.h:14
The root for all renderer implementations.
Definition EEngineProject.h:6