#include <mesh.hpp>
|
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 std::filesystem::path &project_root, const std::filesystem::path &mesh_path) -> expected< void > |
|
auto | mesh () const |
|
auto | mesh_file () const |
|
◆ bind()
auto wren::scene::components::MeshRenderer::bind |
( |
const std::shared_ptr< Context > & | ctx, |
|
|
const std::shared_ptr< vk::Shader > & | shader, |
|
|
const ::vk::CommandBuffer & | cmd, |
|
|
const math::Mat4f & | model_mat ) |
|
inline |
◆ mesh()
auto wren::scene::components::MeshRenderer::mesh |
( |
| ) |
const |
|
inline |
◆ mesh_file()
auto wren::scene::components::MeshRenderer::mesh_file |
( |
| ) |
const |
|
inline |
◆ update_mesh()
auto wren::scene::components::MeshRenderer::update_mesh |
( |
const std::filesystem::path & | project_root, |
|
|
const std::filesystem::path & | mesh_path ) -> expected<void> |
|
inline |
◆ mesh_
std::optional<Mesh> wren::scene::components::MeshRenderer::mesh_ |
|
private |
◆ mesh_file_
std::filesystem::path wren::scene::components::MeshRenderer::mesh_file_ |
|
private |
◆ ubo_
std::shared_ptr<vk::Buffer> wren::scene::components::MeshRenderer::ubo_ |
|
private |
The documentation for this class was generated from the following file:
- wren/include/wren/scene/components/mesh.hpp