ReTo
0.3.7
|
Class to manage a quad. More...
#include <Framebuffer.h>
Public Member Functions | |
Quad (const std::string &vertexCode, const std::string &fragmentCode) | |
Quad constructor. More... | |
~Quad (void) | |
Quad destructor. | |
reto::ShaderProgram *const & | program (void) const |
Method to get program handler. More... | |
void | draw (void) const |
Method to draw quad. | |
void | clear (void) |
Method to clear quad resources. | |
Class to manage a quad.
Definition at line 47 of file Framebuffer.h.
reto::Quad::Quad | ( | const std::string & | vertexCode, |
const std::string & | fragmentCode | ||
) |
Quad constructor.
vertexCode | vertex shader code |
fragmentCode | fragment shader code |
reto::ShaderProgram* const& reto::Quad::program | ( | void | ) | const |
Method to get program handler.