|
MeVisLab Toolbox Reference
|
Derived class which supports OpenGL legacy emulation and updating of uniforms when rendering Inventor scenes. More...
#include <SoShaderProgram.h>
Additional Inherited Members | |
Public Types inherited from SoGLShaderProgram | |
| enum | LinkageResult { LR_FAILURE = 0 , LR_SUCCESS = 1 , LR_SKIPPED = 2 } |
Public Types inherited from SoUniformParameterBase | |
| enum | SamplerType { SAMPLER_1D , SAMPLER_2D , SAMPLER_3D , SAMPLER_CUBEMAP } |
Static Public Member Functions inherited from SoGLShader | |
| 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. | |
Protected Member Functions inherited from SoGLShaderProgram | |
| GLint | getUniform (const SbString &name, GLenum type, int *num=nullptr) |
Protected Member Functions inherited from SoGLShader | |
| SoGLShader () | |
| Constructor. | |
| virtual | ~SoGLShader () |
| Destructor. | |
| 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. | |
Protected Member Functions inherited from SoUniformParameterBase | |
| SoUniformParameterBase () | |
| Hidden constructor. | |
| virtual | ~SoUniformParameterBase () |
| Hidden destructor. | |
Protected Attributes inherited from SoGLShaderProgram | |
| ml::GLSLProgram | _programRes |
| GLint | _geometryInputType |
| GLint | _geometryOutputType |
| GLint | _geometryVerticesOut |
| std::list< SoGLShaderObject * > | _shaderObjects |
| SbBool | _shouldLink |
| SbBool | _isExecutable |
| SbString | _name |
| int | _assignedTextureUnits |
| std::map< std::string, UniformInfo > | _uniformInfo |
| bool | _alwaysReadErrorLog |
| bool | _hadError |
| SbString | _errorLog |
Derived class which supports OpenGL legacy emulation and updating of uniforms when rendering Inventor scenes.
Definition at line 36 of file SoShaderProgram.h.
| SoGLInventorShaderProgram::SoGLInventorShaderProgram | ( | ) |
|
overridevirtual |
Store information about uniforms locations.
Reimplemented from SoGLShaderProgram.
|
overridevirtual |
Bind locations before linking the shader program.
Reimplemented from SoGLShaderProgram.
Update the shader uniforms according to the current Inventor state.
Reimplemented from SoGLShaderProgram.