ShaderDef.Parser operator


v9.0 (2011)


Returns or sets the name of the parser as a String. This is the name you specified for the parser you created with the PluginRegistrar.RegisterShaderLanguageParser method. It is used, along with the class name and version number, to create the shader definition's ProgID.

Note: See ShaderDef.ParserBased for a description of how shader definitions can be created by parsing files with a specific shader language parser.

C# Syntax

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

See Also

ShaderDef.ParserBased ShaderDef.Parsed ShaderDef.Plugin Creating Shader Language Parser Definitions Instantiating Shader Definitions and the ProgID