Clear Class Reference
[Advanced]

Clear a framebuffer. More...

#include <Clear.hpp>

Inheritance diagram for Clear:
Node Applicable

List of all members.

Public Member Functions

 Clear (const Tag &tag)
virtual void apply ()
virtual void remove ()
virtual string toString () const

Private Attributes

float r
float g
float b

Detailed Description

Clear a framebuffer.

Although actually one of the most mundane operations, most of the time clear is not directly needed by the user because the display loop will it do automatically. However, when working with framebuffer objects, it does sometimes become necessary when doing multiple passes.


Constructor & Destructor Documentation

Clear ( const Tag tag  ) 

Initialize the three color components.


Member Function Documentation

void apply (  )  [virtual]

Clears the current framebuffer with the node's color.

Implements Applicable.

string toString (  )  const [virtual]
Returns:
String comprised of the object's attributes.

Reimplemented from Node.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:35 2010 for Gander by  doxygen 1.6.3