Make use of the new EnumMap class
This commit is contained in:
@@ -90,7 +90,6 @@ namespace Nz
|
||||
};
|
||||
|
||||
private:
|
||||
std::array<UInt32, PredefinedShaderBindingCount> m_engineShaderBindings;
|
||||
std::shared_ptr<RenderPipelineLayout> m_renderPipelineLayout;
|
||||
std::unordered_map<UInt32, nzsl::Ast::ConstantSingleValue> m_optionValues;
|
||||
std::unordered_map<std::string /*tag*/, std::size_t> m_textureByTag;
|
||||
@@ -98,6 +97,7 @@ namespace Nz
|
||||
std::vector<TextureData> m_textures;
|
||||
std::vector<UniformBlockData> m_uniformBlocks;
|
||||
mutable std::weak_ptr<MaterialInstance> m_defaultInstance;
|
||||
EnumMap<EngineShaderBinding, UInt32> m_engineShaderBindings;
|
||||
MaterialSettings m_settings;
|
||||
ShaderReflection m_reflection;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user