#include <offscreen_buffer.hh>
Public Member Functions | |
| bool | Begin () |
| bool | End () |
| bool | Resize (unsigned int width, unsigned int height) |
| bool | IsValid () const |
| bool | IsActive () const |
Static Public Member Functions | |
| static OffscreenBuffer & | Instance () |
Definition at line 45 of file offscreen_buffer.hh.
| bool Begin | ( | ) |
activate offscreen context for rendering
| bool End | ( | ) |
switch back to normal rendering context
| static OffscreenBuffer& Instance | ( | ) | [static] |
singleton interface
| bool IsActive | ( | ) | const |
returns true between Begin/End bracket
| bool IsValid | ( | ) | const |
returns true if offscreen rendering context is available
| bool Resize | ( | unsigned int | width, | |
| unsigned int | height | |||
| ) |
\ brief resize offscreen rendering context
1.5.8