torque Torque Game Engine Documentation
TGE Version 1.5.2

Video Class Reference

#include <platformVideo.h>


Static Public Member Functions

static void init ()
static void destroy ()
static bool installDevice (DisplayDevice *dev)
static bool setDevice (const char *renderName, U32 width, U32 height, U32 bpp, bool fullScreen)
static bool setScreenMode (U32 width, U32 height, U32 bpp, bool fullScreen)
static void deactivate ()
static void reactivate ()
static bool setResolution (U32 width, U32 height, U32 bpp)
static bool toggleFullScreen ()
static DisplayDevicegetDevice (const char *renderName)
static const char * getDeviceList ()
static const char * getResolutionList ()
static const char * getDriverInfo ()
static bool prevRes ()
static bool nextRes ()
static Resolution getResolution ()
static Resolution getDesktopResolution ()
static bool isFullScreen ()
static void swapBuffers ()
static bool getGammaCorrection (F32 &g)
static bool setGammaCorrection (F32 g)
static bool setVerticalSync (bool on)
static void setVideo (const char *gapi, const char *vendor, const char *renderer, const char *platform, const char *os, const char *arch)

Static Public Attributes

static bool smNeedResurrect

Static Private Attributes

static Vector< DisplayDevice * > smDeviceList
static DisplayDevicesmCurrentDevice
static bool smCritical


Member Function Documentation

static void Video::init (  )  [static]

static void Video::destroy (  )  [static]

static bool Video::installDevice ( DisplayDevice dev  )  [static]

static bool Video::setDevice ( const char *  renderName,
U32  width,
U32  height,
U32  bpp,
bool  fullScreen 
) [static]

static bool Video::setScreenMode ( U32  width,
U32  height,
U32  bpp,
bool  fullScreen 
) [static]

static void Video::deactivate (  )  [static]

static void Video::reactivate (  )  [static]

static bool Video::setResolution ( U32  width,
U32  height,
U32  bpp 
) [static]

static bool Video::toggleFullScreen (  )  [static]

static DisplayDevice* Video::getDevice ( const char *  renderName  )  [static]

static const char* Video::getDeviceList (  )  [static]

static const char* Video::getResolutionList (  )  [static]

static const char* Video::getDriverInfo (  )  [static]

static bool Video::prevRes (  )  [static]

static bool Video::nextRes (  )  [static]

static Resolution Video::getResolution (  )  [static]

static Resolution Video::getDesktopResolution (  )  [static]

static bool Video::isFullScreen (  )  [static]

static void Video::swapBuffers (  )  [static]

static bool Video::getGammaCorrection ( F32 g  )  [static]

static bool Video::setGammaCorrection ( F32  g  )  [static]

static bool Video::setVerticalSync ( bool  on  )  [static]

static void Video::setVideo ( const char *  gapi,
const char *  vendor,
const char *  renderer,
const char *  platform,
const char *  os,
const char *  arch 
) [static]


Field Documentation

bool Video::smCritical [static, private]

bool Video::smNeedResurrect [static]




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