Abstract base class for shader objects.  
 More...
#include <SoGLShader.h>
 | 
|   | 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. 
 
 
◆ 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()
  
  
      
        
          | static SbBool SoGLShader::isSupported  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Returns 'TRUE' if vertex and fragment shaders are supported by OpenGL. 
 
 
◆ printCapabilities()
  
  
      
        
          | static void SoGLShader::printCapabilities  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Prints capabilities of the OpenGL implementation. 
 
 
◆ reset()
  
  
      
        
          | virtual void SoGLShader::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
◆ supportsGeometryShaders()
  
  
      
        
          | static 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