25 Json::Value
Save()
const;
40 void LoadGeometry(
const char* filename);
Interface of a model loaded from a file.
Definition: Model.hpp:8
Json::Value Save() const
Save the model.
Definition: Model.cpp:16
std::string name
The name of the model.
Definition: Model.hpp:34
Model(Video::LowLevelRenderer *lowLevelRenderer)
Create new empty model.
Definition: Model.cpp:12
virtual ~Model()
Destructor.
Definition: Model.cpp:14
std::string path
The folder containing the model file.
Definition: Model.hpp:37
void Load(const std::string &name)
Load model from file.
Definition: Model.cpp:22
Renderable 3D geometry.
Definition: Geometry3D.hpp:15
LowLevelRenderer * lowLevelRenderer
The low-level renderer used to create buffers and the vertex description.
Definition: Geometry3D.hpp:98
Low level renderer abstracting the underlaying graphics API (OpenGL or Vulkan).
Definition: LowLevelRenderer.hpp:27
Definition: AssetEditor.hpp:5