|
Sparkle 0.0.1
|
Painter that renders ColorMesh instances. More...
#include <spk_color_painter.hpp>


Public Member Functions | |
| ColorPainter () | |
| Builds a color painter with its rendering pipeline. | |
| void | setLayer (const float &p_layer) |
| Sets the layer value used during rendering. | |
| const float & | layer () const |
| Returns the current layer value. | |
| Public Member Functions inherited from spk::MeshPainter< ColorMesh > | |
| virtual void | setMesh (const Mesh *p_mesh) |
| Sets the mesh to render. | |
| const Mesh * | mesh () const |
| Returns the currently bound mesh. | |
| void | render () |
| Renders the current mesh when available. | |
Additional Inherited Members | |
| Public Types inherited from spk::MeshPainter< ColorMesh > | |
| using | Mesh |
| Mesh type handled by the painter. | |
| Protected Member Functions inherited from spk::MeshPainter< ColorMesh > | |
| MeshPainter (Lumina::Pipeline &p_pipeline) | |
| Builds a mesh painter bound to a pipeline. | |
| Lumina::Pipeline::Object & | _objectHandle () |
| Returns the render object handle. | |
Painter that renders ColorMesh instances.
| const float & spk::ColorPainter::layer | ( | ) | const |
Returns the current layer value.
| void spk::ColorPainter::setLayer | ( | const float & | p_layer | ) |
Sets the layer value used during rendering.
| p_layer | Layer value. |
