Add a few helper functions

This commit is contained in:
Jérôme Leclercq
2021-05-14 02:09:25 +02:00
parent f280cff0a2
commit 830ec6ac94
5 changed files with 36 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ namespace Nz
MaterialSettings(MaterialSettings&&) = delete;
~MaterialSettings() = default;
inline const Builder& GetBuilderData() const;
inline const std::vector<Condition>& GetConditions() const;
inline std::size_t GetConditionIndex(const std::string_view& name) const;
inline std::size_t GetPredefinedBindingIndex(PredefinedShaderBinding binding) const;