Torque2D Reference
Public Member Functions | Static Public Member Functions | List of all members
OpenGLDevice Class Reference

#include <EmscriptenOGLVideo.h>

+ Inheritance diagram for OpenGLDevice:

Public Member Functions

 OpenGLDevice ()
 
void initDevice ()
 The following are inherited from DisplayDevice. More...
 
bool activate (U32 width, U32 height, U32 bpp, bool fullScreen)
 
void shutdown ()
 
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)
 
 OpenGLDevice ()
 
virtual ~OpenGLDevice ()
 
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)
 
void loadResolutions ()
 
- Public Member Functions inherited from DisplayDevice
 DisplayDevice ()
 
virtual ~DisplayDevice ()
 
virtual bool setResolution (U32 width, U32 height, U32 bpp)
 
virtual bool toggleFullScreen ()
 
bool prevRes ()
 
bool nextRes ()
 
const char * getResolutionList ()
 
bool isFullScreenOnly ()
 

Static Public Member Functions

static DisplayDevicecreate ()
 
static DisplayDevicecreate ()
 
- Static Public Member Functions inherited from DisplayDevice
static void init ()
 
static Resolution getResolution ()
 
static bool isFullScreen ()
 

Additional Inherited Members

- Public Attributes inherited from DisplayDevice
const char * mDeviceName
 
- Protected Attributes inherited from DisplayDevice
Vector< ResolutionmResolutionList
 
bool mFullScreenOnly
 
- Static Protected Attributes inherited from DisplayDevice
static Resolution smCurrentRes
 
static bool smIsFullScreen
 

Constructor & Destructor Documentation

~OpenGLDevice ( )
virtual

Member Function Documentation

bool activate ( U32  width,
U32  height,
U32  bpp,
bool  fullScreen 
)
virtual

Implements DisplayDevice.

bool activate ( U32  width,
U32  height,
U32  bpp,
bool  fullScreen 
)
virtual

Implements DisplayDevice.

DisplayDevice * create ( void  )
static
static DisplayDevice* create ( )
static
void destroy ( )
const char* getDriverInfo ( )
virtual

Implements DisplayDevice.

const char * getDriverInfo ( )
virtual

Implements DisplayDevice.

bool getGammaCorrection ( F32 &  g)
virtual

Implements DisplayDevice.

bool getGammaCorrection ( F32 &  g)
virtual

Implements DisplayDevice.

void initDevice ( )
virtual

Implements DisplayDevice.

void initDevice ( )
virtual

The following are inherited from DisplayDevice.

Implements DisplayDevice.

void loadResolutions ( )
bool setGammaCorrection ( F32  g)
virtual

Implements DisplayDevice.

bool setGammaCorrection ( F32  g)
virtual

Implements DisplayDevice.

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

Implements DisplayDevice.

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

Implements DisplayDevice.

bool setVerticalSync ( bool  on)
virtual

Implements DisplayDevice.

bool setVerticalSync ( bool  on)
virtual

Implements DisplayDevice.

void shutdown ( )
virtual

Implements DisplayDevice.

void shutdown ( )
virtual

Implements DisplayDevice.

void swapBuffers ( )
virtual

Implements DisplayDevice.

void swapBuffers ( )
virtual

Implements DisplayDevice.


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