genre | Shader |
author | Felix Ritter |
package | MeVisLab/Standard |
dll | SoShader |
definition | SoShader.def |
keywords | vertex, fragment, geometry |
Links all vertex, geometry, and fragment shaders encountered so far. Determines all active uniform parameters and uses the shader parameter modules to update the uniforms before the OpenGL shading language program is run. Allows to setup the geometry shader state for the shader program.
Provides the following additional uniform parameters:
Geometry Input Type: Enum |
Geometry Output Type: Enum |
Max Emitted Geometry Vertices: Integer |
parameter: String |
shaderObject: String |
Defines the input type that the geometry shader expects. Note that for LINES_ADJACENCY_INPUT and TRIANGLES_ADJACENCY_INPUT modes the OpenGL rendering needs to send adjacency information, this can be done using the sendAdjacency that is available in SoIndexedFaceSet, SoIndexedLineSet and SoIndexedTriangleSet.
Values:
Title | Name |
---|---|
Points Input | POINTS_INPUT |
Lines Input | LINES_INPUT |
Triangles Input | TRIANGLES_INPUT |
Lines Adjacency Input | LINES_ADJACENCY_INPUT |
Triangles Adjacency Input | TRIANGLES_ADJACENCY_INPUT |