#include <Rbo.h>
Public Member Functions | |
| Rbo () | |
| Standard Constructor. | |
| Rbo (const string &identifier, const GLint &width, const GLint &height, const GLint &channels) | |
| Constructor. | |
| Rbo (const Rbo &source) | |
| Copy-constructor. | |
| ~Rbo () | |
| Destructor. | |
| void | bind () |
| Bind texture in OpenGL. | |
| const string & | getIdentifier () const |
| Gets texture filename. | |
| GLuint | getGlName () |
| Gets OpenGL RBO name. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
| Rbo | operator= (const Rbo &rbo) |
| Operator =. | |
Private Attributes | |
| struct rboEntry * | data |
| data of the texture | |
Renderbuffer object to be used with OpenGL
| Rbo::Rbo | ( | ) |
Standard Constructor.
| Rbo::Rbo | ( | const string & | identifier, | |
| const GLint & | width, | |||
| const GLint & | height, | |||
| const GLint & | channels | |||
| ) |
Constructor.
Creates an RBO
| identifier | The name by that this renderbuffer will be referred to |
| Rbo::Rbo | ( | const Rbo & | source | ) |
Copy-constructor.
Duplicates an RBO
| Rbo::~Rbo | ( | ) |
Destructor.
Destroys the RBO
| void Rbo::bind | ( | ) |
Bind texture in OpenGL.
Signals OpenGL to use this one as active renderbuffer
| const string & Rbo::getIdentifier | ( | ) | const |
Gets texture filename.
| GLuint Rbo::getGlName | ( | ) |
Gets OpenGL RBO name.
| string Rbo::toString | ( | ) | const [virtual] |
Returns a textual representation.
| string Rbo::className | ( | ) | const [virtual] |
Returns the class name of the object.
| enum classId Rbo::classId | ( | ) | const [virtual] |
Returns the class id of the object.
1.5.6