Click or drag to resize
SoShaderProgram.SetGeometryShader Method (Int32, String, SoShaderObject.SourceTypes)

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: 2023.1.3.0 (2023.1.3)
Syntax
public virtual SoGeometryShader SetGeometryShader(
	int pos,
	string filenameOrSource,
	SoShaderObject. SourceTypes sourceType
)

Parameters

pos
Type: System.Int32
filenameOrSource
Type: System.String
sourceType
Type: OIV.Inventor.Nodes.SoShaderObject.SourceTypes

Return Value

Type: SoGeometryShader
Remarks

Return value is the new geometry shader.

See Also