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

Convenience method to create a geometry shader with the specified filename and add it at the specified position.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public virtual SoGeometryShader SetGeometryShader(
	int pos,
	string filenameOrSource,
	SoShaderObjectSourceTypes sourceType
)

Parameters

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

Return Value

Type: SoGeometryShader
Remarks

Return value is the new geometry shader.

See Also