![]() |
Raven Engine v0.1
|
Interface representing a 3D mesh resource. More...
#include <Mesh.h>
Public Member Functions | |
| virtual | ~Mesh ()=default |
| virtual std::string | GetPath () const =0 |
| Returns the file path from which the mesh was loaded. | |
| virtual Ref< VertexBuffer > | GetVertexBuffer () const =0 |
| virtual Ref< IndexBuffer > | GetIndexBuffer () const =0 |
| virtual std::vector< SubMesh > | GetSubmeshes ()=0 |
Static Public Member Functions | |
| static Ref< Mesh > | Create (const std::string &path) |
| Factory method to create a Mesh from a given file path. | |
Interface representing a 3D mesh resource.
Provides access to the mesh source path. Concrete implementations handle actual mesh loading and GPU resource management.
|
virtualdefault |
|
pure virtual |
Implemented in Raven::VulkanMesh.
|
pure virtual |
Returns the file path from which the mesh was loaded.
Implemented in Raven::VulkanMesh.
|
pure virtual |
Implemented in Raven::VulkanMesh.
|
pure virtual |
Implemented in Raven::VulkanMesh.