Click or drag to resize
SoShaderProgramSetFragmentShader Method (Int32, String)
Calls SetFragmentShader(pos, filenameOrSource, OIV.Inventor.Nodes.SoShaderObject.SourceTypes( .SoShaderObject.FILENAME )).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public SoFragmentShader SetFragmentShader(
	int pos,
	string filenameOrSource
)

Parameters

pos
Type: SystemInt32
filenameOrSource
Type: SystemString

Return Value

Type: SoFragmentShader
Remarks