|
Mondschein Engine
0.3.0
|
This class provides creation functions for Mondschein SDL classes. More...
#include <sdl_types.h>
Static Public Member Functions | |
| static display::SDL_Visual_p | create_sdl_visual () |
| Create an SDL visual. More... | |
| static display::SDL_Visual_p | create_sdl_visual (uint32 _w, uint32 _h, uint32 _bpp, bool _fs, Eigen::Vector4i _cd, Eigen::Vector4i _ad, int32 _dbs, int32 _sbs, bool _db, bool _init=false) |
| Create an SDL visual. More... | |
| static display::SDL_Visual_p | create_sdl_visual (display::SDL_Visual_c _v) |
| Create an SDL visual. More... | |
This class provides creation functions for Mondschein SDL classes.
The SDL_Factory class is a convenience class that provides creation functions to ease the use of Mondschein SDL classes. Supported classes are:
SDL_Visual
Definition at line 41 of file sdl_types.h.
|
static |
Create an SDL visual.
This function createa a standard SDL visual according to the class defaults.
Definition at line 36 of file mondschein_sdl.cpp.
|
static |
Create an SDL visual.
| _w | the visual width |
| _h | the visual height |
| _bpp | the visual depth |
| _fs | the visual fullscreen mode |
| _cd | the context colour buffer depth |
| _ac | the context accumulation buffer depth |
| _dbs | the context depth buffer size |
| _sbs | the context stencil buffer size |
| _db | the context doublebuffer mode (default: auto-detect on initialization) |
| _r | the renderer |
| _init | initializer option (true for automatic initialization, false otherwise, default: false) |
This function creates an SDL visual according to the function parameters.
Definition at line 44 of file mondschein_sdl.cpp.
|
static |
Create an SDL visual.
| _v | the SDL visual to copy |
This function creates an SDL visual object which is an exact copy of _v.
1.8.3.1