|
wren
Vulkan-based game engine
|
#include <mesh.hpp>

Public Member Functions | |
| auto | bind (const std::shared_ptr< Context > &ctx, const std::shared_ptr< vk::Shader > &shader, const ::vk::CommandBuffer &cmd, const math::Mat4f &model_mat) |
| auto | update_mesh (const Mesh &mesh) |
| auto | update_mesh (const std::filesystem::path &project_root, const std::filesystem::path &mesh_path) -> expected< void > |
| void | colour (const math::Vec4f &colour) |
| auto | mesh () const |
| auto | mesh_file () const |
Private Attributes | |
| std::optional< Mesh > | mesh_ |
| wren::math::Vec4f | colour_ |
| std::filesystem::path | mesh_file_ |
| std::shared_ptr< vk::Buffer > | ubo_ |
|
inline |


|
inline |


|
inlinenodiscard |

|
inlinenodiscard |

|
inline |


|
inline |

|
private |
|
private |
|
private |
|
private |