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.1.1.0 (2024.1.1)
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