|
CG-Project2
|
This Component is used to render a mesh in the ogl::Window. It stores the render call that will be called by systems. More...
#include <Component.hpp>


Public Member Functions | |
| void | setRenderCall (const std::function< void()> &func) |
| Sets the render call that will be used. | |
| void | call () |
| This method calls the render callback if is defined. | |
| RenderComponent () | |
| Instance basic Component. | |
This Component is used to render a mesh in the ogl::Window. It stores the render call that will be called by systems.
|
inline |
Sets the render call that will be used.
| func | a callback function |