JWS C++ Library
C++ language utility library
jwscxx::graphics::Offscreen_buffer Class Reference

Offscreen rendering buffer. More...

#include <offscreen.h>

Collaboration diagram for jwscxx::graphics::Offscreen_buffer:

List of all members.

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.

Detailed Description

Offscreen rendering buffer.

Definition at line 80 of file offscreen.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

The offscreen buffer is active.

Definition at line 103 of file offscreen.h.

Width of the offscreen buffer.

Definition at line 106 of file offscreen.h.

height of the offscreen buffer.

Definition at line 109 of file offscreen.h.


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