ReTo
0.3.7
|
Class to manage transform feedbacks. More...
#include <TransformFeedback.h>
Public Member Functions | |
TransformFeedback (const std::string &vertexCode, std::vector< const char * > varyings, int mode) | |
TransformFeedback constructor. More... | |
virtual | ~TransformFeedback (void) |
TransformFeedback destructor. | |
void | draw (void) |
Method to draw transform feedback. | |
void | addObject (reto::Pickable *object) |
Method to add a pickable object. More... | |
void | removeObject (reto::Pickable *object) |
Method to remove a pickable object. More... | |
reto::ShaderProgram *const & | program (void) const |
Method to get program handler. More... | |
void | clear (void) |
Method to clear transform feedback. | |
Class to manage transform feedbacks.
Definition at line 47 of file TransformFeedback.h.
reto::TransformFeedback::TransformFeedback | ( | const std::string & | vertexCode, |
std::vector< const char * > | varyings, | ||
int | mode | ||
) |
TransformFeedback constructor.
vertexCode | vertex shader code |
varyings | transform feedback varying names |
mode | transform feedback mode |
void reto::TransformFeedback::addObject | ( | reto::Pickable * | object | ) |
Method to add a pickable object.
object | Pickable object |
reto::ShaderProgram* const& reto::TransformFeedback::program | ( | void | ) | const |
Method to get program handler.
void reto::TransformFeedback::removeObject | ( | reto::Pickable * | object | ) |
Method to remove a pickable object.
object | Pickable object |