Clear a framebuffer. More...
#include <Clear.hpp>
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 |
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.
void apply | ( | ) | [virtual] |
Clears the current framebuffer with the node's color.
Implements Applicable.
string toString | ( | ) | const [virtual] |
Reimplemented from Node.