SoShaderProgramSetFragmentShader Method (Int32, String) |
Calls SetFragmentShader(pos, filenameOrSource, OIV.Inventor.Nodes.SoShaderObject.SourceTypes( .SoShaderObject.FILENAME )).
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax public SoFragmentShader SetFragmentShader(
int pos,
string filenameOrSource
)
Public Function SetFragmentShader (
pos As Integer,
filenameOrSource As String
) As SoFragmentShader
public:
SoFragmentShader^ SetFragmentShader(
int pos,
String^ filenameOrSource
)
member SetFragmentShader :
pos : int *
filenameOrSource : string -> SoFragmentShader
Parameters
- pos
- Type: SystemInt32
- filenameOrSource
- Type: SystemString
Return Value
Type:
SoFragmentShaderRemarks See Also