GFXVideoMode
Engine/source/gfx/gfxStructs.h
Public Attributes
Public Functions
bool
operator!=(const GFXVideoMode & otherMode)
bool
operator==(const GFXVideoMode & otherMode)
parseFromString(const char * str)
Fill whatever fields we can from the passed string, which should be of form "width height [bitDepth [refreshRate] [antialiasLevel]]" Unspecified fields aren't modified, so you may want to set defaults before parsing.
Detailed Description
Public Attributes
U32 antialiasLevel
U32 bitDepth
bool fullScreen
U32 refreshRate
Point2I resolution
bool wideScreen
Public Functions
GFXVideoMode()
operator!=(const GFXVideoMode & otherMode)
operator==(const GFXVideoMode & otherMode)
parseFromString(const char * str)
Fill whatever fields we can from the passed string, which should be of form "width height [bitDepth [refreshRate] [antialiasLevel]]" Unspecified fields aren't modified, so you may want to set defaults before parsing.
toString()
Gets a string representation of the object as "resolution.x resolution.y fullScreen bitDepth refreshRate antialiasLevel".
return:
(string) A string representation of the object.