SoView2DShaderInclude¶
- InventorModule¶
genre
author
package
dll
definition
keywords
Purpose¶
The SoView2DShaderInclude module allows for extending the SoView2DShaderOverlay with additional GLSL code that can be included from SoView2DShaderFunction.
Note: If the name if the include already exists, the last include wins. This allows for replacing existing includes with own implementation.
Parameter Fields¶
Visible Fields¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
If checked, the include is enabled.
Identifier¶
- name: identifier, type: String¶
Sets the name of the include. Use this name in a
SoView2DShaderFunctionto add the specified include.
Header¶
- name: header, type: String¶
Sets the source code that is included.
Insert At Top¶
- name: insertAtTop, type: Bool, default: FALSE¶
If checked, the code is inserted at the top of the shader.