#include <buffer.h>
Inheritance diagram for GltFrameBuffer:
Public Methods | |
virtual void | read ()=0 |
Update from frame buffer. | |
virtual void | write () const=0 |
Write to frame buffer. | |
GLuint | x () const |
Viewport x. | |
GLuint | y () const |
Viewport y. | |
GLuint | width () const |
Viewport width. | |
GLuint | height () const |
Viewport height. | |
GLuint | size () const |
Viewport size in pixels. | |
virtual void | writePPM (std::ostream &os) const=0 |
Write to PPM file from memory. | |
virtual void | writeTGA (std::ostream &os) const=0 |
Write to TGA file from memory. | |
Protected Methods | |
GltFrameBuffer () | |
Constructor. | |
GltFrameBuffer (const GltViewport &viewport) | |
Constructor. | |
virtual | ~GltFrameBuffer () |
Destructor. |
Definition at line 63 of file buffer.h.