SoShaderObjectsourceType Property |
Specifies the shader object's source type.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic SoSFEnum<SoShaderObjectSourceTypes> sourceType { get; }
Public ReadOnly Property sourceType As SoSFEnum(Of SoShaderObjectSourceTypes)
Get
public:
property SoSFEnum<SoShaderObjectSourceTypes>^ sourceType {
SoSFEnum<SoShaderObjectSourceTypes>^ get ();
}
member sourceType : SoSFEnum<SoShaderObjectSourceTypes> with get
Property Value
Type:
SoSFEnumSoShaderObjectSourceTypes
RemarksThe 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