JWS C++ Library
C++ language utility library
|
Offscreen rendering buffer. More...
#include <offscreen.h>
Public Member Functions | |
Offscreen_buffer (int width, int height) | |
Constructs an offscreen buffer. | |
virtual | ~Offscreen_buffer () |
Deletes an offscreen buffer. | |
virtual void | activate ()=0 throw (jwscxx::base::Exception) |
Activates an offscreen buffer. | |
virtual void | deactivate ()=0 throw (jwscxx::base::Exception) |
Deactivates an offscreen buffer. | |
virtual void | reactivate ()=0 throw (jwscxx::base::Exception) |
Reactivates an offscreen buffer. | |
Protected Attributes | |
bool | active |
The offscreen buffer is active. | |
int | width |
Width of the offscreen buffer. | |
int | height |
height of the offscreen buffer. |
Offscreen rendering buffer.
Definition at line 80 of file offscreen.h.
jwscxx::graphics::Offscreen_buffer::Offscreen_buffer | ( | int | width, |
int | height | ||
) | [inline] |
Constructs an offscreen buffer.
Definition at line 85 of file offscreen.h.
virtual jwscxx::graphics::Offscreen_buffer::~Offscreen_buffer | ( | ) | [inline, virtual] |
Deletes an offscreen buffer.
Definition at line 89 of file offscreen.h.
virtual void jwscxx::graphics::Offscreen_buffer::activate | ( | ) | throw (jwscxx::base::Exception) [pure virtual] |
Activates an offscreen buffer.
virtual void jwscxx::graphics::Offscreen_buffer::deactivate | ( | ) | throw (jwscxx::base::Exception) [pure virtual] |
Deactivates an offscreen buffer.
virtual void jwscxx::graphics::Offscreen_buffer::reactivate | ( | ) | throw (jwscxx::base::Exception) [pure virtual] |
Reactivates an offscreen buffer.
bool jwscxx::graphics::Offscreen_buffer::active [protected] |
The offscreen buffer is active.
Definition at line 103 of file offscreen.h.
int jwscxx::graphics::Offscreen_buffer::width [protected] |
Width of the offscreen buffer.
Definition at line 106 of file offscreen.h.
int jwscxx::graphics::Offscreen_buffer::height [protected] |
height of the offscreen buffer.
Definition at line 109 of file offscreen.h.