XSIApplication.GetShaderDef operator

Introduced

v9.0 (2011)

Description

Returns a shader definition matching the specified ShaderDef.ProgID.

C# Syntax

ShaderDef XSIApplication.GetShaderDef( String in_strProgID );

Scripting Syntax

oReturn = XSIApplication.GetShaderDef( in_strProgID );

Return Value

ShaderDef

Parameters

Parameter Type Description
in_strProgID String The ProgID of the shader definition (for example, "Softimage.material-phong.1.0").

See Also

ShaderDef.ProgID XSIApplication.ShaderDefinitions