Colobot
|
General config for graphics device. More...
#include <device.h>
Public Member Functions | |
void | LoadDefault () |
Loads the default values. More... | |
Public Attributes | |
Math::IntPoint | size = Math::IntPoint(800, 600) |
Screen size. More... | |
int | bpp = 32 |
Bits per pixel. More... | |
bool | fullScreen = false |
Full screen. More... | |
bool | resizeable = true |
Resizeable window. More... | |
bool | doubleBuf = true |
Double buffering. More... | |
bool | noFrame = false |
No window frame (also set with full screen) More... | |
int | redSize = 8 |
Size of red channel in bits. More... | |
int | greenSize = 8 |
Size of green channel in bits. More... | |
int | blueSize = 8 |
Size of blue channel in bits. More... | |
int | alphaSize = 8 |
Size of alpha channel in bits. More... | |
int | depthSize = 24 |
Color depth in bits. More... | |
int | stencilSize = 8 |
Stencil depth in bits. More... | |
bool | hardwareAccel = true |
Force hardware acceleration (video mode set will fail on lack of hw accel) More... | |
General config for graphics device.
These settings are common window options set by SDL.
|
inline |
Loads the default values.
Math::IntPoint Gfx::DeviceConfig::size = Math::IntPoint(800, 600) |
Screen size.
int Gfx::DeviceConfig::bpp = 32 |
Bits per pixel.
bool Gfx::DeviceConfig::fullScreen = false |
Full screen.
bool Gfx::DeviceConfig::resizeable = true |
Resizeable window.
bool Gfx::DeviceConfig::doubleBuf = true |
Double buffering.
bool Gfx::DeviceConfig::noFrame = false |
No window frame (also set with full screen)
int Gfx::DeviceConfig::redSize = 8 |
Size of red channel in bits.
int Gfx::DeviceConfig::greenSize = 8 |
Size of green channel in bits.
int Gfx::DeviceConfig::blueSize = 8 |
Size of blue channel in bits.
int Gfx::DeviceConfig::alphaSize = 8 |
Size of alpha channel in bits.
int Gfx::DeviceConfig::depthSize = 24 |
Color depth in bits.
int Gfx::DeviceConfig::stencilSize = 8 |
Stencil depth in bits.
bool Gfx::DeviceConfig::hardwareAccel = true |
Force hardware acceleration (video mode set will fail on lack of hw accel)