25 std::vector<vc::Mesh> meshes;
26 std::vector<vc::Material> materials;
35 vc::Error ImportModel(
const char * path);
36 virtual void Draw() = 0;
38 const std::vector<vc::Mesh> & GetMeshes()
const;
50 Model(
const char * path);
53 inline void Draw() { _impl->As<
ModelImpl>()->Draw(); }
54 inline vc::Error ImportModel(
const char * path) {
return _impl->As<
ModelImpl>()->ImportModel(path); }
55 inline const std::vector<vc::Mesh> & GetMeshes()
const {
return _impl->As<
ModelImpl>()->GetMeshes(); }
Base class for cached resource holders.
Definition GraphicsPluginObject.h:57
Base class for cached resources.
Definition GraphicsPluginObject.h:29
Base class for graphics plugin objects.
Definition GraphicsPluginObject.h:80
Contains all the mesh's data and is the main high-level interface for the user.
Definition Model.h:47
Interface for the PluginObject different implementations.
Definition PluginObject.h:56
Wrapper for the PluginObjectImpl, inherited by classes like Model or Mesh to make them usable as comp...
Definition PluginObject.h:76
Contains the entirety of the code of the VenomEngine project.
Definition Config.h:13