emilib
|
Will set a viewport and restore the old viewport on death. More...
#include <gl_lib.hpp>
Public Member Functions | |
TempViewPort (Rectangle bb) | |
TempViewPort (Size size) | |
TempViewPort (unsigned width, unsigned height) | |
Static Public Member Functions | |
static void | set_back_buffer (Rectangle bb) |
Call when we acquire context or resize window. | |
static void | set_back_buffer_size (Size size) |
Call when we acquire context or resize window. | |
static void | set_back_buffer_size (int width, int height) |
Call when we acquire context or resize window. | |
static const Rectangle & | back_buffer () |
static Size | back_buffer_size () |
Will set a viewport and restore the old viewport on death.