#include <mesh.hpp>
◆ 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 |
◆ colour()
| void wren::scene::components::MeshRenderer::colour |
( |
const math::Vec4f & | colour | ) |
|
|
inline |
◆ mesh()
| auto wren::scene::components::MeshRenderer::mesh |
( |
| ) |
const |
|
inlinenodiscard |
◆ mesh_file()
| auto wren::scene::components::MeshRenderer::mesh_file |
( |
| ) |
const |
|
inlinenodiscard |
◆ update_mesh() [1/2]
| auto wren::scene::components::MeshRenderer::update_mesh |
( |
const Mesh & | mesh | ) |
|
|
inline |
◆ update_mesh() [2/2]
| auto wren::scene::components::MeshRenderer::update_mesh |
( |
const std::filesystem::path & | project_root, |
|
|
const std::filesystem::path & | mesh_path ) -> expected<void> |
|
inline |
◆ colour_
◆ 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