12#include <glm/mat4x4.hpp>
15#include <utility/graphic/pose.hpp>
16#include <utility/graphic/mesh.hpp>
18namespace utility::graphic
120 [[nodiscard]] std::vector<std::shared_ptr<Mesh>>
getMeshes()
const;
123 std::vector<std::shared_ptr<Mesh>>
The Renderable class represents an object that can be rendered in the graphics application.
glm::mat4 getModelMatrix(void) const
Get the object-to-world model matrix of this renderable.
std::vector< std::shared_ptr< Mesh > > _meshes
Meshes associated with this renderable object.
PoseF _pose
World pose (position and orientation) of the text.
Renderable & setPose(const PoseF &pose)
Set the text pose.
const PoseF & getPose(void) const
Get the text pose.
const graphic::Color32Bit & getColor(void) const
Get the text color.].
std::vector< std::shared_ptr< Mesh > > getMeshes() const
Get the meshes associated with this renderable object.
virtual ~Renderable()=default
Virtual destructor for Renderable.
Color32Bit _color
Text RGBA color.
Renderable & setColor(const graphic::Color32Bit &color)
Set the text color.
RGBA color representation with blending and manipulation operations.