SoView2DShaderInclude

InventorModule
genre View2DExtended
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition SoView2DShader.def
keywords GLSL

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 SoView2DShaderFunction to add the specified include.

Insert At Top

name: insertAtTop, type: Bool, default: FALSE

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