![]() |
Raven Engine v0.1
|
Vulkan-specific implementation of a Mesh. More...
#include <VulkanMesh.h>
Public Member Functions | |
| VulkanMesh (const std::string &path) | |
| Constructs a VulkanMesh by loading a model from the given file path. | |
| ~VulkanMesh () | |
| Destructor that cleans up submesh resources. | |
| Ref< VertexBuffer > | GetVertexBuffer () const override |
| Ref< IndexBuffer > | GetIndexBuffer () const override |
| std::vector< SubMesh > | GetSubmeshes () override |
| std::string | GetPath () const override |
| Gets the original file path of the loaded model. | |
| Public Member Functions inherited from Raven::Mesh | |
| virtual | ~Mesh ()=default |
Additional Inherited Members | |
| Static Public Member Functions inherited from Raven::Mesh | |
| static Ref< Mesh > | Create (const std::string &path) |
| Factory method to create a Mesh from a given file path. | |
Vulkan-specific implementation of a Mesh.
Loads a mesh from a file using Assimp, processes the scene graph, and manages submeshes with their associated vertex/index buffers and textures.
| Raven::VulkanMesh::VulkanMesh | ( | const std::string & | path | ) |
Constructs a VulkanMesh by loading a model from the given file path.
| path | Filesystem path to the model to load. |
| Raven::VulkanMesh::~VulkanMesh | ( | ) |
Destructor that cleans up submesh resources.
|
inlineoverridevirtual |
Implements Raven::Mesh.
|
inlineoverridevirtual |
Gets the original file path of the loaded model.
Implements Raven::Mesh.
|
inlineoverridevirtual |
Implements Raven::Mesh.
|
inlineoverridevirtual |
Implements Raven::Mesh.