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

Creates a vertex shader with the given filename and adds it at the given pos.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public override SoVertexShader SetVertexShader(
	int pos,
	string filenameOrSource,
	SoShaderObjectSourceTypes sourceType
)

Parameters

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

Return Value

Type: SoVertexShader

the new vertex shader.

Remarks

See Also