vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
Model.hpp
Go to the documentation of this file.
1///
2/// @file Model.hpp
3/// @brief This file contains the Model Factory class
4/// @namespace ven
5///
6
7#pragma once
8
9#include <memory>
10
11#include "VEngine/Gfx/Model.hpp"
12
13namespace ven {
14
15 ///
16 /// @class ModelFactory
17 /// @brief Class for Model factory
18 /// @namespace ven
19 ///
21
22 public:
23
24 ModelFactory() = delete;
25 ~ModelFactory() = default;
26
27 ModelFactory(const ModelFactory&) = delete;
31
32 static std::unique_ptr<Model> create(Device& device, const std::string& filepath);
33 static std::unordered_map<std::string, std::shared_ptr<Model>> loadAll(Device& device, const std::string& folderPath);
34
35 }; // class ModelFactory
36
37} // namespace ven
This file contains the Model class.
Class for device.
Definition Device.hpp:35
Class for Model factory.
Definition Model.hpp:20
ModelFactory(ModelFactory &&)=delete
ModelFactory()=delete
static std::unordered_map< std::string, std::shared_ptr< Model > > loadAll(Device &device, const std::string &folderPath)
Definition Model.cpp:3
static std::unique_ptr< Model > create(Device &device, const std::string &filepath)
Definition Model.cpp:20
ModelFactory & operator=(ModelFactory &&)=delete
ModelFactory & operator=(const ModelFactory &)=delete
ModelFactory(const ModelFactory &)=delete
~ModelFactory()=default