torque Torque Game Engine Documentation
TGE Version 1.5.2

D3DDevice Class Reference

#include <winD3DVideo.h>

Inheritance diagram for D3DDevice:

Inheritance graph
[legend]

Public Member Functions

 D3DDevice ()
virtual void initDevice ()
bool activate (U32 width, U32 height, U32 bpp, bool fullScreen)
void shutdown ()
void destroy ()
bool setScreenMode (U32 width, U32 height, U32 bpp, bool fullScreen, bool forceIt=false, bool repaint=true)
void swapBuffers ()
const char * getDriverInfo ()
bool getGammaCorrection (F32 &g)
bool setGammaCorrection (F32 g)
bool setVerticalSync (bool on)

Static Public Member Functions

static DisplayDevicecreate ()

Static Public Attributes

static bool smStay16

Private Attributes

bool mRestoreGamma
U16 mOriginalRamp [256 *3]

Static Private Attributes

static bool smCanSwitchBitDepth

Constructor & Destructor Documentation

D3DDevice::D3DDevice (  ) 


Member Function Documentation

virtual void D3DDevice::initDevice (  )  [virtual]

Implements DisplayDevice.

bool D3DDevice::activate ( U32  width,
U32  height,
U32  bpp,
bool  fullScreen 
) [virtual]

Implements DisplayDevice.

void D3DDevice::shutdown (  )  [virtual]

Implements DisplayDevice.

void D3DDevice::destroy (  ) 

bool D3DDevice::setScreenMode ( U32  width,
U32  height,
U32  bpp,
bool  fullScreen,
bool  forceIt = false,
bool  repaint = true 
) [virtual]

Implements DisplayDevice.

void D3DDevice::swapBuffers (  )  [virtual]

Implements DisplayDevice.

const char* D3DDevice::getDriverInfo (  )  [virtual]

Implements DisplayDevice.

bool D3DDevice::getGammaCorrection ( F32 g  )  [virtual]

Implements DisplayDevice.

bool D3DDevice::setGammaCorrection ( F32  g  )  [virtual]

Implements DisplayDevice.

bool D3DDevice::setVerticalSync ( bool  on  )  [virtual]

Implements DisplayDevice.

static DisplayDevice* D3DDevice::create (  )  [static]


Field Documentation

bool D3DDevice::smCanSwitchBitDepth [static, private]

bool D3DDevice::mRestoreGamma [private]

U16 D3DDevice::mOriginalRamp[256 *3] [private]

bool D3DDevice::smStay16 [static]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen