4 #include <unordered_map> 7 #include <SceneLoader\DrawableObject.h> 8 #include <SceneLoader\MaterialTechnique.h> 15 class MaterialPropertiesLoader;
16 class MaterialTechniqueLoader;
21 using DrawableObjectsByModelName = std::unordered_map<std::string, std::vector<DrawableObject>>;
26 : mMaterialPropertiesLoader(materialPropertiesLoader)
27 , mMaterialTechniqueLoader(materialTechniqueLoader)
28 , mModelLoader(modelLoader)
36 void LoadDrawableObjects(
const YAML::Node& rootNode) noexcept;
38 const DrawableObjectsByModelName& GetDrawableObjectsByModelNameByTechniqueType(
39 const MaterialTechnique::TechniqueType techniqueType)
const noexcept
41 return mDrawableObjectsByModelName[techniqueType];
45 DrawableObjectsByModelName mDrawableObjectsByModelName[MaterialTechnique::NUM_TECHNIQUES];
Definition: MaterialTechniqueLoader.h:15
Definition: DrawableObjectLoader.h:19
Definition: ModelLoader.h:16
Definition: DrawableObjectLoader.h:10
Definition: MaterialPropertiesLoader.h:13