Click or drag to resize
SoShaderObjectsourceType Property

Specifies the shader object's source type.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFEnum<SoShaderObjectSourceTypes> sourceType { get; }

Property Value

Type: SoSFEnumSoShaderObjectSourceTypes
Remarks

The type of source can be either a filename containing the program (OIV.Inventor.Nodes.SoShaderObject.SourceTypes.FILENAME), or a string containing the source program (OIV.Inventor.Nodes.SoShaderObject.SourceTypes.GLSL_PROGRAM). Use enum OIV.Inventor.Nodes.SoShaderObject.SourceTypes. Default is FILENAME.

NOTE: The source type must be specified before the source program (OIV.Inventor.Nodes.SoShaderObject.sourceProgram) is specified.

See Also