API for render modes.
Classes | |
struct | Common::RenderModeDescription |
Enumerations | |
enum | Common::RenderMode { kRenderDefault = 0, kRenderVGA = 1, kRenderEGA = 2, kRenderCGA = 3, kRenderHercG = 4, kRenderHercA = 5, kRenderAmiga = 6, kRenderFMTowns = 7, kRenderPC98_256c = 8, kRenderPC98_16c = 9, kRenderApple2GS = 10, kRenderAtariST = 11, kRenderMacintosh = 12, kRenderMacintoshBW = 13, kRenderCGAComp = 14, kRenderCGA_BW = 15, kRenderCPC = 16, kRenderZX = 17, kRenderC64 = 18, kRenderVGAGrey = 19, kRenderPC98_8c = 20, kRenderWin256c = 21, kRenderWin16c = 22 } |
Functions | |
RenderMode | Common::parseRenderMode (const String &str) |
const char * | Common::getRenderModeCode (RenderMode id) |
const char * | Common::getRenderModeDescription (RenderMode id) |
String | Common::renderMode2GUIO (RenderMode id) |
String | Common::allRenderModesGUIOs () |
Variables | |
const RenderModeDescription | Common::g_renderModes [] |
enum Common::RenderMode |
List of render modes. It specifies which original graphics mode to use. Some targets used postprocessing dithering routines for reducing color depth of final image which let it to be rendered on such low-level adapters as CGA or Hercules.
If you are adding an option here, do not forget to create relevant GUIO
RenderMode Common::parseRenderMode | ( | const String & | str | ) |
Convert a string containing a render mode name into a RenderingMode enum value.