SoView2DShaderInclude

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

Purpose

The SoView2DShaderInclude module allows to extend 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 to replace existing includes with own implementation.

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enables the include.

Identifier

name: identifier, type: String

The name of the include. Use this name in a SoView2DShaderFunction to add the given include.

Insert At Top

name: insertAtTop, type: Bool, default: FALSE

inserts the code at the top of the shader if enabled