MetaShaderRendererDef.SymbolName operator

Introduced

v9.0 (2011)

Description

Returns or sets the symbol name of the shader code to execute as a String. The symbol name is the name of the procedure to execute (for example, "material-phong_cg" is the symbol name for the Softimage Phong shader's Cg renderer). This is the same information as specified in the Name entry under the MetaShader > Renderer section in a SPDL file.

If the symbol name hasn't been set then an empty string is returned.

C# Syntax

// get accessor
String rtn = MetaShaderRendererDef.SymbolName;
// set accessor
MetaShaderRendererDef.SymbolName = String;

See Also

Shader.SymbolName