Vulkan-specific implementation of a Mesh. More...
#include <VulkanMesh.h>
Inherits Raven::Mesh.
Public Member Functions | |
| ILLUMINE_API | VulkanMesh (const std::string &path) |
| Constructs a VulkanMesh by loading a model from the given file path. | |
| ILLUMINE_API void | Release () override |
| Destructor that cleans up submesh resources. | |
| Ref< VertexBuffer > | GetVertexBuffer () const override |
| Ref< IndexBuffer > | GetIndexBuffer () const override |
| std::vector< SubMesh > | GetSubmeshes () override |
| std::vector< MaterialHandle > | GetMaterialHandles () const override |
| void | SetMaterialHandle (usize slot, const MaterialHandle &handle) 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 |
| Public Member Functions inherited from Raven::RefCounted | |
| RefCounted () | |
| virtual | ~RefCounted () |
| void | IncRefCount () |
| void | DecRefCount () |
| u32 | GetRefCount () const |
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. | |
| Static Public Attributes inherited from Raven::Mesh | |
| static constexpr AssetType | ASSET_TYPE = AssetType::Mesh |
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. |
|
inlineoverridevirtual |
Implements Raven::Mesh.
|
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.
|
overridevirtual |
Destructor that cleans up submesh resources.
Implements Raven::Mesh.
|
inlineoverridevirtual |
Implements Raven::Mesh.