Open Inventor element representing a SoGLShaderProgram in the Open Inventor state.  
 More...
#include <SoGLShaderProgramElement.h>
 | 
| void  | init (SoState *state) override | 
|   | Initialize element.  
  | 
|   | 
| void  | push (SoState *state) override | 
|   | Override push()/pop() method so side effects can occur in GL.  
  | 
|   | 
| void  | pop (SoState *state, const SoElement *prevTopElement) override | 
|   | 
 | 
| static void  | set (SoState *state, SoNode *node, SoGLShaderProgram *glShaderProgram) | 
|   | Sets the current shader in the state.  
  | 
|   | 
| static SoGLShaderProgram *  | get (SoState *state) | 
|   | Returns the current shader from the state.  
  | 
|   | 
| static void  | initClass () | 
|   | Initialize class with runtime type system.  
  | 
|   | 
Open Inventor element representing a SoGLShaderProgram in the Open Inventor state. 
Definition at line 25 of file SoGLShaderProgramElement.h.
 
◆ ~SoGLShaderProgramElement()
  
  
      
        
          | SoGLShaderProgramElement::~SoGLShaderProgramElement  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideprotected   | 
  
 
 
◆ get()
Returns the current shader from the state. 
 
 
◆ init()
  
  
      
        
          | void SoGLShaderProgramElement::init  | 
          ( | 
          SoState *  | 
          state | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ initClass()
  
  
      
        
          | static void SoGLShaderProgramElement::initClass  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Initialize class with runtime type system. 
 
 
◆ pop()
  
  
      
        
          | void SoGLShaderProgramElement::pop  | 
          ( | 
          SoState *  | 
          state,  | 
         
        
           | 
           | 
          const SoElement *  | 
          prevTopElement  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ push()
  
  
      
        
          | void SoGLShaderProgramElement::push  | 
          ( | 
          SoState *  | 
          state | ) | 
           | 
         
       
   | 
  
override   | 
  
 
Override push()/pop() method so side effects can occur in GL. 
 
 
◆ set()
  
  
      
        
          | static void SoGLShaderProgramElement::set  | 
          ( | 
          SoState *  | 
          state,  | 
         
        
           | 
           | 
          SoNode *  | 
          node,  | 
         
        
           | 
           | 
          SoGLShaderProgram *  | 
          glShaderProgram  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Sets the current shader in the state. 
 
 
◆ _glShaderProgram
The documentation for this class was generated from the following file: