MIGLX Class Reference

Helper class for X11 OpenGL Extension (GLX). More...

#include <mi32/miglx.h>

List of all members.

Classes

class  CONTEXT

Public Types

enum  BUFFER {
  BUFFER_Front = 0x01, BUFFER_Back = 0x02, BUFFER_Left = 0x10, BUFFER_Right = 0x20,
  BUFFER_FrontLeft = 0x11, BUFFER_FrontRight = 0x21, BUFFER_BackLeft = 0x12, BUFFER_BackRight = 0x22,
  BUFFER_All = 0x00
}
enum  MODE { MODE_Any = 0x00, MODE_DoubleBuffer = 0x01, MODE_Stereo = 0x02 }

Static Public Member Functions

static ERRVALUE CheckError ()
static bool HasMode (MODE mode)
static bool IsEnabled ()

Detailed Description

Helper class for X11 OpenGL Extension (GLX).


Member Enumeration Documentation

Buffer(s) to select for drawing.

Enumerator:
BUFFER_Front 

Front (on-screen) buffer only, both left and right if available.

BUFFER_Back 

Back (off-screen) buffer only, both left and right if available.

BUFFER_Left 

Left buffer only, both front and back if available.

BUFFER_Right 

Right buffer only, both front and back if available.

BUFFER_FrontLeft 

Front left buffer only.

BUFFER_FrontRight 

Front right buffer only.

BUFFER_BackLeft 

Back left buffer only.

BUFFER_BackRight 

Back right buffer only.

BUFFER_All 

All buffers concurrently.

Enumerator:
MODE_Any 
MODE_DoubleBuffer 
MODE_Stereo 

Member Function Documentation

static ERRVALUE MIGLX::CheckError (  )  [static]

Check for OpenGL error.

Will build message string with all available errors.

static bool MIGLX::HasMode ( MODE  mode  )  [static]

Determine if specific mode is available.

Will return false if GLX extension is not enabled.

Parameters:
mode Combination of desired MODE values
static bool MIGLX::IsEnabled (  )  [static]

Determine if GLX extension is enabled.


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

Generated on Sun Oct 7 21:33:35 2012 for TNTsdk 2012 by  doxygen 1.6.1