## ShaderDef.ParserBased

### Introduced

v9.0 (2011)

### Description

Returns a Boolean value describing whether or not the definition was generated from a parsed file. Softimage can create shader definitions by extracting the list of parameters, categories, attributes, etc. from one of the standard text file shader formats, such as .mi or .cgfx, or a custom text file format. Softimage ships with several built-in parsers to create shader definitions from several file formats (including .hlsl, .cgfx, etc.) but you can also create your own shader language parser plug-in using the PluginRegistrar.RegisterShaderLanguageParser method. See the Creating Shader Language Parser Definitions topic for more details.

### C# Syntax

    // get accessor

    Boolean rtn = ShaderDef.ParserBased;

### See Also

ShaderDef.PluginBased ShaderDef.Parsed ShaderDef.Parser Creating Shader Language Parser Definitions