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: 9.9.13.0 (9.9.13.0)
Syntax
public SoSFEnum<SoShaderObjectSourceTypes> sourceType { get; }

Property Value

Type: SoSFEnumSoShaderObjectSourceTypes
Remarks

The type of source can be either a filename containing the program (FILENAME), or a string containing the source program (ARB_PROGRAM, CG_PROGRAM, or GLSL_PROGRAM). Use enum SourceType. Defaule is FILENAME.

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

See Also