Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
WinDisplayDevice Class Reference

`#include <winVideo.h>`

Inheritance diagram for WinDisplayDevice:

## Public Member Functions
| WinDisplayDevice ()
virtual | ~WinDisplayDevice ()
virtual void | initDevice ()
Public Member Functions inherited from DisplayDevice
| DisplayDevice ()
virtual | ~DisplayDevice ()
virtual bool | activate (U32 width, U32 height, U32 bpp, bool fullScreen)=0
virtual void | shutdown ()=0
virtual bool | setScreenMode (U32 width, U32 height, U32 bpp, bool fullScreen, bool forceIt=false, bool repaint=true)=0
virtual bool | setResolution (U32 width, U32 height, U32 bpp)
virtual bool | toggleFullScreen ()
virtual void | swapBuffers ()=0
virtual const char * | getDriverInfo ()=0
virtual bool | getGammaCorrection (F32 &g)=0
virtual bool | setGammaCorrection (F32 g)=0
virtual bool | setVerticalSync (bool on)=0
bool | prevRes ()
bool | nextRes ()
const char * | getResolutionList ()
bool | isFullScreenOnly ()

## Static Public Member Functions
static void | enumerateBitDepths ()
Static Public Member Functions inherited from DisplayDevice
static void | init ()
static Resolution | getResolution ()
static bool | isFullScreen ()

## Protected Attributes
bool | mRestoreGamma
U16 | mOriginalRamp [256 *3]
Protected Attributes inherited from DisplayDevice
Vector< Resolution > | mResolutionList
bool | mFullScreenOnly

## Static Protected Attributes
static bool | smCanSwitchBitDepth = false
static bool | smCanDo16Bit = false
static bool | smCanDo32Bit = false
Static Protected Attributes inherited from DisplayDevice
static Resolution | smCurrentRes
static bool | smIsFullScreen

## Additional Inherited Members
Public Attributes inherited from DisplayDevice
const char * | mDeviceName

## Constructor & Destructor Documentation

WinDisplayDevice | ( |  | ) |

virtual ~WinDisplayDevice | ( |  | ) |
| inline virtual

## Member Function Documentation

void enumerateBitDepths | ( |  | ) |
| static

void initDevice | ( |  | ) |
| virtual

Implements DisplayDevice.

Reimplemented in OpenGLDevice, OpenGLDevice, OpenGLDevice, OpenGLDevice, and OpenGLDevice.

## Member Data Documentation

U16 mOriginalRamp[256 *3]
| protected

bool mRestoreGamma
| protected

bool smCanDo16Bit = false
| static protected

bool smCanDo32Bit = false
| static protected

bool smCanSwitchBitDepth = false
| static protected

The documentation for this class was generated from the following files:

- platformWin32/winVideo.h
- platformWin32/winVideo.cc