Click or drag to resize
SoVolumeShaderSetFragmentShader Method (Int32, String, SoShaderObjectSourceTypes)

Creates a fragment shader with the given filename and add it at the given pos.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public override SoFragmentShader SetFragmentShader(
	int pos,
	string filenameOrSource,
	SoShaderObjectSourceTypes sourceType
)

Parameters

pos
Type: SystemInt32
filenameOrSource
Type: SystemString
sourceType
Type: OIV.Inventor.NodesSoShaderObjectSourceTypes

Return Value

Type: SoFragmentShader
Remarks

Return value is the new fragment shader.

See Also