Abstract Open Inventor node for vertex or fragment shader nodes.
More...
#include <SoShaderObject.h>
|
| static void | initClass () |
| | Initialize class with runtime type system.
|
| |
|
| SoSFBool | isActive |
| | Enable / disable shader object.
|
| |
| SoSFEnum | sourceType |
| | Specify shader object's source type.
|
| |
| SoSFString | sourceProgram |
| | Contains the shader object's source or the filename of the source file.
|
| |
| SoSFBool | emulateLegacyOpenGL |
| | If enabled, legacy OpenGL state is emulated for shaders >= version 140.
|
| |
Abstract Open Inventor node for vertex or fragment shader nodes.
Definition at line 30 of file SoShaderObject.h.
◆ SnippetInsertionLocation
◆ SourceType
Shader object's source type.
| Enumerator |
|---|
| GLSL_PROGRAM | OpenGL Shading Language program.
|
| FILENAME | Filename of source file.
|
Definition at line 39 of file SoShaderObject.h.
◆ SoShaderObject()
| SoShaderObject::SoShaderObject |
( |
| ) |
|
|
protected |
◆ ~SoShaderObject()
| SoShaderObject::~SoShaderObject |
( |
| ) |
|
|
overrideprotected |
◆ checkType()
| void SoShaderObject::checkType |
( |
| ) |
|
|
protected |
◆ containsMainFunction()
| SbBool SoShaderObject::containsMainFunction |
( |
| ) |
const |
|
inline |
◆ getGLShaderObject()
◆ getSnippetFunctionName()
| SbString SoShaderObject::getSnippetFunctionName |
( |
| ) |
const |
|
inline |
◆ getSnippetInsertionLocation()
◆ getSnippetUniformList()
| const SbList< SbString > & SoShaderObject::getSnippetUniformList |
( |
| ) |
const |
|
inline |
◆ getSourceProgram()
| const SbString & SoShaderObject::getSourceProgram |
( |
| ) |
const |
|
inline |
◆ getSourceType()
| SourceType SoShaderObject::getSourceType |
( |
| ) |
const |
|
inline |
◆ GLRender()
| void SoShaderObject::GLRender |
( |
SoGLRenderAction * |
action | ) |
|
|
override |
Add this node to element in state.
◆ hasSourceModifications()
| SbBool SoShaderObject::hasSourceModifications |
( |
| ) |
const |
◆ initClass()
| static void SoShaderObject::initClass |
( |
| ) |
|
|
static |
Initialize class with runtime type system.
◆ isSnippet()
| SbBool SoShaderObject::isSnippet |
( |
| ) |
const |
|
inline |
◆ readSource()
| void SoShaderObject::readSource |
( |
| ) |
|
|
protected |
◆ scheduleRebuild()
| void SoShaderObject::scheduleRebuild |
( |
| ) |
|
Schedule rebuild of underlying OpenGL shader (e.g. due to GL context switch)
◆ shaderType()
◆ _glShaderObject
◆ _sourceProgram
| SbString SoShaderObject::_sourceProgram |
|
protected |
◆ _sourceType
◆ emulateLegacyOpenGL
| SoSFBool SoShaderObject::emulateLegacyOpenGL |
◆ isActive
| SoSFBool SoShaderObject::isActive |
◆ sourceProgram
| SoSFString SoShaderObject::sourceProgram |
Contains the shader object's source or the filename of the source file.
Definition at line 55 of file SoShaderObject.h.
◆ sourceType
| SoSFEnum SoShaderObject::sourceType |
The documentation for this class was generated from the following file: