Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoGLError Class Reference

OpenGL rendering error handling. More...

#include <Inventor/errors/SoGLError.h>

+ Inheritance diagram for SoGLError:

Public Member Functions

virtual SoType getTypeId () const
 Returns type identifier for an instance of this class.
 
- Public Member Functions inherited from SoError
const SbStringgetDebugString () const
 Returns debug string containing full error information from instance.
 
virtual ~SoError ()
 Destructor.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static void setHandlerCallback (SoErrorCB *cb, void *data)
 Sets handler callback for SoGLError class.
 
static SoErrorCBgetHandlerCallback ()
 Returns handler callback for SoGLError class.
 
static void * getHandlerData ()
 Returns handler data for SoGLError class.
 
static SoType getClassTypeId ()
 Returns type identifier for the SoGLError class.
 
static void post (const int openGLErrorCode, const char *glFuncName, const char *formatString ...)
 Posts an error.
 
- Static Public Member Functions inherited from SoError
static void setHandlerCallback (SoErrorCB *cb, void *data)
 Sets handler callback for SoError class.
 
static SoErrorCBgetHandlerCallback ()
 Returns handler callback for SoError class.
 
static void * getHandlerData ()
 Returns handler data for SoError class.
 
static SoType getClassTypeId ()
 Returns type identifier for SoError class.
 
static SoPRINTF void post (const char *formatString ...)
 Posts an error.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

OpenGL rendering error handling.

SoGLError is used for errors reported by the OpenGL render engine.
See SoError for full discussion of error handling in Open Inventor.

SEE ALSO

SoDebugError, SoMemoryError

Definition at line 43 of file SoGLError.h.

Member Function Documentation

◆ getClassTypeId()

static SoType SoGLError::getClassTypeId ( )
static

Returns type identifier for the SoGLError class.

◆ getHandlerCallback()

static SoErrorCB * SoGLError::getHandlerCallback ( )
static

Returns handler callback for SoGLError class.

◆ getHandlerData()

static void * SoGLError::getHandlerData ( )
static

Returns handler data for SoGLError class.

◆ getTypeId()

virtual SoType SoGLError::getTypeId ( ) const
virtual

Returns type identifier for an instance of this class.

Reimplemented from SoError.

◆ post()

static void SoGLError::post ( const int  openGLErrorCode,
const char *  glFuncName,
const char *  formatString ... 
)
static

Posts an error.

◆ setHandlerCallback()

static void SoGLError::setHandlerCallback ( SoErrorCB cb,
void *  data 
)
static

Sets handler callback for SoGLError class.


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