#include <SoGLShader.h>

Public Member Functions | |
| SbBool | isContextStillValid (int context) |
| Check if given context is still the same. | |
| int | getContext () const |
| Returns Context Id, to which this object belongs. | |
Static Public Member Functions | |
| static SbBool | isSupported () |
| Returns 'TRUE' if vertex and fragment shaders are supported by OpenGL. | |
| static void | printCapabilities () |
| Prints capabilities of the OpenGL implementation. | |
Protected Member Functions | |
| SoGLShader () | |
| Constructor. | |
| virtual | ~SoGLShader () |
| Destructor. | |
| virtual void | reset () |
| Free all resources (OpenGL too) and reset instance to initial state. | |
| void | errClear (const char *string=NULL) const |
| Clear OpenGL error state and print any previously not displayed error message. | |
| void | errCheck (const char *string=NULL) const |
| Check for OpenGL errors and print error message if one is found. | |
| SbBool | error (const char *string=NULL) const |
| Returns 'TRUE' if OpenGL error is found. | |
Protected Attributes | |
| GLuint | _programHandle |
| int | _context |
| Context Id, to which this object belongs. | |
Definition at line 20 of file SoGLShader.h.
| SoGLShader::SoGLShader | ( | ) | [protected] |
Constructor.
| virtual SoGLShader::~SoGLShader | ( | ) | [inline, protected, virtual] |
| void SoGLShader::errCheck | ( | const char * | string = NULL |
) | const [protected] |
Check for OpenGL errors and print error message if one is found.
| void SoGLShader::errClear | ( | const char * | string = NULL |
) | const [protected] |
Clear OpenGL error state and print any previously not displayed error message.
| SbBool SoGLShader::error | ( | const char * | string = NULL |
) | const [inline, protected] |
| int SoGLShader::getContext | ( | ) | const [inline] |
| SbBool SoGLShader::isContextStillValid | ( | int | context | ) | [inline] |
| static SbBool SoGLShader::isSupported | ( | ) | [static] |
Returns 'TRUE' if vertex and fragment shaders are supported by OpenGL.
| static void SoGLShader::printCapabilities | ( | ) | [static] |
Prints capabilities of the OpenGL implementation.
| virtual void SoGLShader::reset | ( | ) | [protected, virtual] |
Free all resources (OpenGL too) and reset instance to initial state.
Reimplemented in SoGLShaderObject, and SoGLShaderProgram.
int SoGLShader::_context [protected] |
GLuint SoGLShader::_programHandle [protected] |
Definition at line 62 of file SoGLShader.h.
1.5.8