Rbo Class Reference

Renderbuffer object to be used with OpenGL. More...

#include <Rbo.h>

List of all members.

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 rboEntrydata
 data of the texture


Detailed Description

Renderbuffer object to be used with OpenGL.

Renderbuffer object to be used with OpenGL


Constructor & Destructor Documentation

Rbo::Rbo (  ) 

Standard Constructor.

Rbo::Rbo ( const string &  identifier,
const GLint &  width,
const GLint &  height,
const GLint &  channels 
)

Constructor.

Creates an RBO

Parameters:
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


Member Function Documentation

void Rbo::bind (  ) 

Bind texture in OpenGL.

Signals OpenGL to use this one as active renderbuffer

const string & Rbo::getIdentifier (  )  const

Gets texture filename.

Returns:
The RBO's identifier

GLuint Rbo::getGlName (  ) 

Gets OpenGL RBO name.

Returns:
The internal name (id) OpenGL has assigned this RBO

string Rbo::toString (  )  const [virtual]

Returns a textual representation.

Returns:
a string descriping the run-time object

string Rbo::className (  )  const [virtual]

Returns the class name of the object.

Returns:
a string with the name of the object's class

enum classId Rbo::classId (  )  const [virtual]

Returns the class id of the object.

Returns:
an id of the object's class

Rbo Rbo::operator= ( const Rbo rbo  )  [inline]

Operator =.


Member Data Documentation

struct rboEntry* Rbo::data [read, private]

data of the texture


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

Generated on Mon Jul 7 13:30:35 2008 for Firefly by  doxygen 1.5.6