NCBI C++ ToolKit
Public Types | Static Public Member Functions | Static Private Attributes | List of all members

Search Toolkit Book for CGlUtils

#include <gui/opengl/glutils.hpp>

Public Types

enum  EAccelState { eNotDetermined , eAccelerated , eNotAccelerated }
 status of hardware acceleration. More...
 
enum  EGlDiagMode {
  eUndefined , eIgnore , eLogPost , eThrow ,
  eAbort
}
 

Static Public Member Functions

static bool CheckGlError ()
 Check if there are any OpenGL errors. More...
 
static EGlDiagMode GetDiagnosticMode ()
 Get current diagnostic (error handling) mode. More...
 
static string GetErrMsg (GLint error)
 Get message for specified OpenGL error. More...
 
static void DumpState ()
 Dump many of the most common OpenGL states. More...
 
static EAccelState GetAccelerated (void)
 Get the status of hardware acceleration. More...
 
static void SetAccelerated (EAccelState acc)
 Set the status of hardware acceleration. More...
 

Static Private Attributes

static EAccelState m_Accel = CGlUtils::eNotDetermined
 

Detailed Description

Definition at line 54 of file glutils.hpp.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:34 2024 by modify_doxy.py rev. 669887