Torque2D Reference
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< ResolutionmResolutionList
 
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

virtual ~WinDisplayDevice ( )
inlinevirtual

Member Function Documentation

void enumerateBitDepths ( )
static
void initDevice ( )
virtual

Member Data Documentation

U16 mOriginalRamp[256 *3]
protected
bool mRestoreGamma
protected
bool smCanDo16Bit = false
staticprotected
bool smCanDo32Bit = false
staticprotected
bool smCanSwitchBitDepth = false
staticprotected

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