SoShaderPipelineInclude¶
- InventorModule¶
author
package
dll
definition
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¶
|
|
|
|
|
|
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
SoShaderPipelineFunctionto add the given include.
Header¶
- name: header, type: String¶
Sets the source code that is included.
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.