emilib
Public Member Functions | Static Public Member Functions | List of all members
gl::TempViewPort Class Reference

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 Rectangleback_buffer ()
 
static Size back_buffer_size ()
 

Detailed Description

Will set a viewport and restore the old viewport on death.


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