ShaderDef.DefinitionPath
 
 
 

ShaderDef.DefinitionPath operator

Introduced

v9.0 (2011)

Description

Returns or sets the definition path as a String. The definition path is where the shader was defined, so for parser-based definitions, this means that the file that was parsed (eg., \Application\Shaders\cgfx\check3d.cgfx), whereas the plug-in based definition paths refer to the plug-in file where the definition was implemented (eg., \Application\Plugins\MyShader.dll), and the spdl-based definition paths point to the SPDL files (eg., \Application\Shaders\spdl\sitoon\sitoon_paint.spdl).

C# Syntax

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

See Also

ShaderDef.Plugin ShaderDef.PluginFilename Understanding Softimage Custom Shaders