ShaderDef.DisplayName operator


v9.0 (2011)


Returns or sets the name that appears in the preset manager as a String. When creating a plug-in based shader definition, set this using the "DisplayName" attribute in the DefineInfo callback. When creating a definition via a shader language parser plug-in, set this using the "DisplayName" attribute in the ParseInfo callback.

C# Syntax

// get accessor
String rtn = ShaderDef.DisplayName;
// set accessor
ShaderDef.DisplayName = String;

See Also

Populating the Preset Manager