Mondschein Engine
0.3.0
|
This class implements a Qt4 compliant rendering visual. More...
#include <visual.h>
Public Member Functions | |
virtual void | init () |
Initialize the rendering visual. More... | |
virtual void | update () |
Update the rendering visual. More... | |
virtual void | draw () |
Draw the contents of the framebuffer. | |
Public Member Functions inherited from mondschein::display::Visual | |
virtual void | set_visual_attribs (const visual_attribs_t &_dsp) |
Set the display properties. More... | |
virtual visual_attribs_t | get_visual_attribs () const |
Get the display properties. More... | |
virtual void | make_current ()=0 |
Make the visual current. More... | |
|
virtual |
Initialize the rendering visual.
NOTE: This function must be called before calling the update or draw functions, otherwise the visual behaviour will be undefined.
Implements mondschein::display::Visual.
Definition at line 43 of file visual.cpp.
|
virtual |
Update the rendering visual.
NOTE: This function must be called for any changes to take effect.
Implements mondschein::display::Visual.
Definition at line 51 of file visual.cpp.