Abstract base class for shader objects.
More...
#include <SoGLShader.h>
|
| static SbBool | isSupported () |
| | Returns 'TRUE' if vertex and fragment shaders are supported by OpenGL.
|
| static bool | supportsGeometryShaders () |
| | Returns if the hardware supports geometry shaders.
|
| static void | printCapabilities () |
| | Prints capabilities of the OpenGL implementation.
|
|
| | SoGLShader () |
| | Constructor.
|
| virtual | ~SoGLShader () |
| | Destructor.
|
| virtual void | reset () |
| | Free all resources (OpenGL too) and reset instance to initial state.
|
| void | errClear (const char *string=nullptr) const |
| | Clear OpenGL error state and print any previously not displayed error message.
|
| void | errCheck (const char *string=nullptr) const |
| | Check for OpenGL errors and print error message if one is found.
|
| SbBool | error (const char *string=nullptr) const |
| | Returns 'TRUE' if OpenGL error is found.
|
Abstract base class for shader objects.
Definition at line 27 of file SoGLShader.h.
◆ SoGLShader()
| SoGLShader::SoGLShader |
( |
| ) |
|
|
protected |
◆ ~SoGLShader()
| virtual SoGLShader::~SoGLShader |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ errCheck()
| void SoGLShader::errCheck |
( |
const char * | string = nullptr | ) |
const |
|
protected |
Check for OpenGL errors and print error message if one is found.
Referenced by error().
◆ errClear()
| void SoGLShader::errClear |
( |
const char * | string = nullptr | ) |
const |
|
protected |
Clear OpenGL error state and print any previously not displayed error message.
◆ error()
| SbBool SoGLShader::error |
( |
const char * | string = nullptr | ) |
const |
|
inlineprotected |
◆ isSupported()
| SbBool SoGLShader::isSupported |
( |
| ) |
|
|
static |
Returns 'TRUE' if vertex and fragment shaders are supported by OpenGL.
◆ printCapabilities()
| void SoGLShader::printCapabilities |
( |
| ) |
|
|
static |
Prints capabilities of the OpenGL implementation.
◆ reset()
| virtual void SoGLShader::reset |
( |
| ) |
|
|
protectedvirtual |
◆ supportsGeometryShaders()
| bool SoGLShader::supportsGeometryShaders |
( |
| ) |
|
|
static |
Returns if the hardware supports geometry shaders.
The documentation for this class was generated from the following file:
- MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/misc/SoGLShader.h