#include <render/resolution.h>
Public Member Functions | |
| Resolution (unsigned int width=0, unsigned int height=0, bool fullscreen=false, unsigned int color=0, unsigned int depth=0, unsigned int stencil=0, unsigned int refresh=0) | |
| Set values. | |
| bool | operator== (const Resolution &rhs) const |
| Compare resolutions. | |
Public Attributes | |
| unsigned int | _width |
| Width. | |
| unsigned int | _height |
| Height. | |
| bool | _fullscreen |
| Fullscreen. | |
| unsigned int | _color |
| Color buffer bitdepth. | |
| unsigned int | _depth |
| Depth buffer bitdepth. | |
| unsigned int | _stencil |
| Stencil buffer bitdepth. | |
| unsigned int | _refresh |
| Refresh rate. | |
| bool | _vsync |
| Vertical sync. | |
| neo::render::Resolution::Resolution | ( | unsigned int | width = 0, |
|
| unsigned int | height = 0, |
|||
| bool | fullscreen = false, |
|||
| unsigned int | color = 0, |
|||
| unsigned int | depth = 0, |
|||
| unsigned int | stencil = 0, |
|||
| unsigned int | refresh = 0 | |||
| ) |
Set values. Any null/zero value indicates the attribute is ignored by the application and the backend is free to choose the best suitable pixel format disregarding that attribute
| width | Width | |
| height | Height | |
| fullscreen | Fullscreen flag | |
| color | Color buffer bitdepth | |
| depth | Depth buffer bitdepth | |
| stencil | Stencil buffer bitdepth | |
| refresh | Refresh rate |
| bool neo::render::Resolution::operator== | ( | const Resolution & | rhs | ) | const [inline] |
1.5.1