SoGVRShaderInclude¶
-
InventorModule
¶ genre VolRend
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoGVR
definition SoGVRShaderPipeline.def see also SoGVRVolumeRenderer
,SoGVRShaderFunction
,SoGVRShaderDiagnosis
keywords pipeline
,header
Purpose¶
The SoGVRShaderInclude
allows for adding of custom shader code in the header of the GVR shader pipeline.
Usage¶
Connect the module before the SoGVRVolumeRenderer
module in the scene graph and implement the custom shader code to be included in the header. The included shader header can be used in a SoGVRShaderFunction
. For that, the identifier string has to be declared in the parameter field of the SoGVRShaderFunction
module with the keyword include.
Tips¶
Implement often used custom functionality using this module.
Output Fields¶
self¶
-
name:
self
, type:
SoNode
¶ a node that should be put in front of the
SoGVRVolumeRenderer
Parameter Fields¶
Field Index¶
Enabled : Bool |
Header : String |
Identifier : String |
Insert At Top : Bool |
Program Type : Enum |