SoShaderPipelineInclude

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShaderPipeline
definition SoShaderPipeline.def

Purpose

The SoShaderPipelineInclude module allows for extending the SoShaderPipeline with additional GLSL code that can be included from SoShaderPipelineFunction.

Note: If the name of the include already exists, the last include takes precedence. This allows you to replace existing includes with your own implementation.

Parameter Fields

Field Index

Enabled: Bool
Header: String
Identifier: String
Insert At Top: Bool
Program Type: Enum
Required Includes: String

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the include is enabled.

Program Type

name: programType, type: Enum, default: Fragment Program

Defines the program type.

Identifier

name: identifier, type: String

Sets the name of the include. Use this name in a SoShaderPipelineFunction to add the given include.

Required Includes

name: requiredIncludes, type: String

Sets a comma-separated list of names of required includes.

Insert At Top

name: insertAtTop, type: Bool, default: FALSE

If checked, the code is inserted at the top of the shader.