ReTo  0.3.7
reto::TransformFeedback Class Reference

Class to manage transform feedbacks. More...

#include <TransformFeedback.h>

+ Collaboration diagram for reto::TransformFeedback:

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.
 

Detailed Description

Class to manage transform feedbacks.

Definition at line 47 of file TransformFeedback.h.

Constructor & Destructor Documentation

reto::TransformFeedback::TransformFeedback ( const std::string &  vertexCode,
std::vector< const char * >  varyings,
int  mode 
)

TransformFeedback constructor.

Parameters
vertexCodevertex shader code
varyingstransform feedback varying names
modetransform feedback mode

Member Function Documentation

void reto::TransformFeedback::addObject ( reto::Pickable object)

Method to add a pickable object.

Parameters
objectPickable object
reto::ShaderProgram* const& reto::TransformFeedback::program ( void  ) const

Method to get program handler.

Returns
program handler.
void reto::TransformFeedback::removeObject ( reto::Pickable object)

Method to remove a pickable object.

Parameters
objectPickable object

The documentation for this class was generated from the following file: