Open Inventor shader program node.
More...
#include <SoShaderProgram.h>
Open Inventor shader program node.
Definition at line 98 of file SoShaderProgram.h.
◆ GeometryInputType
Enumerator |
---|
POINTS_INPUT | |
LINES_INPUT | |
LINES_ADJACENCY_INPUT | |
TRIANGLES_INPUT | |
TRIANGLES_ADJACENCY_INPUT | |
Definition at line 106 of file SoShaderProgram.h.
◆ GeometryOutputType
Enumerator |
---|
POINTS_OUTPUT | |
LINE_STRIP_OUTPUT | |
TRIANGLE_STRIP_OUTPUT | |
Definition at line 113 of file SoShaderProgram.h.
◆ SoShaderProgram()
SoShaderProgram::SoShaderProgram |
( |
| ) |
|
◆ ~SoShaderProgram()
SoShaderProgram::~SoShaderProgram |
( |
| ) |
|
|
overrideprotected |
◆ adaptParametersList()
◆ adaptShadersList()
◆ getGLShaderProgram()
◆ GLRender()
◆ initClass()
Initialize class with runtime type system.
◆ injectSnippets()
void SoShaderProgram::injectSnippets |
( |
| ) |
|
|
protected |
◆ isValidShaderObjects()
SbBool SoShaderProgram::isValidShaderObjects |
( |
| ) |
const |
|
protected |
Returns 'TRUE' if all shader objects are valid.
◆ scheduleShaderObjectRebuild()
void SoShaderProgram::scheduleShaderObjectRebuild |
( |
| ) |
|
|
protected |
◆ setup()
void SoShaderProgram::setup |
( |
| ) |
|
|
protected |
Initial setup of shader program.
◆ updateOIVStateDependentParameters()
void SoShaderProgram::updateOIVStateDependentParameters |
( |
SoState * | state | ) |
|
|
protected |
Assigns Open Inventor state to some predefined uniform parameters.
Currently supported state depended uniforms are:
- 'oiv_ViewPosition' vec4(x, y, z, (orthographic projection) ? 0 : 1)
- 'oiv_NumEnabledLights' int
◆ _glShaderProgram
◆ _usedShaderParameters
SbPList SoShaderProgram::_usedShaderParameters |
|
protected |
◆ geometryInputType
SoSFEnum SoShaderProgram::geometryInputType |
Kind of primitives the geometry shader will accept as input.
Definition at line 126 of file SoShaderProgram.h.
◆ geometryOutputType
SoSFEnum SoShaderProgram::geometryOutputType |
Kind of primitives the geometry shader will output.
Definition at line 129 of file SoShaderProgram.h.
◆ maxEmittedGeometryVertices
SoSFInt32 SoShaderProgram::maxEmittedGeometryVertices |
Maximum number of points the geometry shader will emit.
Definition at line 132 of file SoShaderProgram.h.
◆ parameter
◆ shaderObject
The documentation for this class was generated from the following file: