SharpDX.Toolkit.Compiler A simple ast used to store technique/pass parsing result. Root node for all ast objects. Root node for all expressions. Root node for all statements. An identifier. Initializes a new instance of the class. Initializes a new instance of the class. The name. The identifier as a string. Is an indirect reference using <...>. An indexed identifier. Initializes a new instance of the class. Initializes a new instance of the class. The name. The index. The index A literal value. Initializes a new instance of the class. Initializes a new instance of the class. The value. The literal value. An expression statement. Initializes a new instance of the class. Initializes a new instance of the class. The expression. The Expression. An array initializer {...} expression. Initializes a new instance of the class. List of values. A reference to an identifier. Initializes a new instance of the class. Initializes a new instance of the class. The name. The identifier referenced by this expression. An assign expression name = value. Initializes a new instance of the class. Initializes a new instance of the class. The name. The value. The identifier receiver. The value to assign. A literal expression. Initializes a new instance of the class. Initializes a new instance of the class. The value. A compile expression (old style d3d9: compile vx_2_0 VS();). Initializes a new instance of the class. Initializes a new instance of the class. A method expression. Initializes a new instance of the class. Name of the method. Arguments. A HLSL 'pass'. Initializes a new instance of the class. Name of the pass. Can be null. List of statements. A HLSL 'technique'. Initializes a new instance of the class. Name of the technique. Can be null. List of passes. Root ast for a shader. Initializes a new instance of the class. List of techniques. Main class used to compile a Toolkit FX file. Checks for changes from a dependency file. The dependency file path. true if a file has been updated, false otherwise Compiles an effect from file. The file path. The flags. The macrosArgs. The include directory list. if set to true [allo dynamic compiling]. The dependency file path. The result of compilation. Compiles an effect from the specified source code and file path. The source code. The file path. The flags. The macrosArgs. The include directory list. if set to true [allow dynamic compiling]. The dependency file path. The result of compilation. Disassembles a shader HLSL bytecode to asm code. The shader. A string containing asm code decoded from HLSL bytecode. Builds the parameters for a particular shader. The shader to build parameters. Builds an effect parameter from a reflection variable. an EffectParameter, null if not handled Builds an effect parameter from a reflection variable. an EffectParameter, null if not handled Main class used to compile a Toolkit FX file. Checks for changes from a dependency file. The dependency file path. true if a file has been updated, false otherwise Compiles an effect from file. The file path. The flags. The macrosArgs. The include directory list. Whether or not to allow dynamic compilation. Path to dependency files. The result of compilation. Compiles an effect from the specified source code and file path. The source code. The file path. The flags. The macrosArgs. The include directory list. Whether or not to allow dynamic compilation. Path to dependency files. The result of compilation. Disassembles a shader HLSL bytecode to asm code. The shader. A string containing asm code decoded from HLSL bytecode. Builds effect data from the provided bytecode. The bytecode list to for the provided effect. Built effect data. Use this class to generate a code with embedded effect bytecode. Gets or sets the class declaration (Default: "public partial"). Gets or sets the namespace. Gets or sets the class name. Gets or sets the field declaration (default: "private"). Gets or sets the field name (default: "effectByteCode"). Initializes a new instance of the class. Checks for changes in the dependency file. true if a file has been updated, false otherwise End of file token. Initializes a new instance of the class. Parses the specified input. The input. Name of the file. Result of parsing Continues the parsing. The previous parsing. EffectParserResult. Parses the specified input. The input. Name of the file. Result of parsing Gets or sets the include file callback. The include file callback. Gets the macros. The macros. Gets the include directory list. The include directory list. Gets or sets the logger. The logger. Result of a compilation. Gets a value indicating whether this instance has errors. true if this instance has errors; otherwise, false. Gets the logger containing compilation messages.. The logger. Available antialias mode. The default grayscale anti-aliasing Use grayscale antialiasing Use cleartype antialiasing. Don't use any antialiasing Main class used to compile a Font file XML file. Compiles an XML font file description to a file. Optionally output dependency file. The source XML file. The output file. The dependency file. true if XXXX, false otherwise Compiles the specified font description into a object. The font description. The stream to output the compiled SpriteFontData. A SpriteFontData object. Compiles the specified font description into a object. The font description. A SpriteFontData object. Input can be either a system (TrueType) font or a specially marked bitmap file. Size and style for TrueType fonts (ignored when converting a bitmap font). Character spacing overrides. Zero is default spacing, negative closer together, positive further apart Line spacing overrides. Zero is default spacing, negative closer together, positive further apart Specifies whether to use kerning information when rendering the font. Default value is false (NOT SUPPORTED YET). Format of the output texture. Values: 'auto', 'rgba32', 'bgra4444', 'compressedmono'. Default is 'auto' Which characters to include in the font (eg. "/CharacterRegion:0x20-0x7F /CharacterRegion:0x123") Fallback character used when asked to render a codepoint that is not included in the font. If zero, missing characters throw exceptions. Style for the font. 'regular', 'bold', 'italic', 'underline', 'strikeout'. Default is 'regular By default, font textures use premultiplied alpha format. Set this if you want interpolative alpha instead. By default, font textures is a grey. To generate ClearType textures, turn this flag to true Type of a font. A regular font. A bold font. An italic font. Available output texture formats. Location of a portion of source. Path of the file. Column of the span. Line of the span. Absolute index in the input string. Length of the source span in the input string. Contains information about a token language. Initializes a new instance of the struct. The type. The value. The span. The type of the token. Value of the token. The source span. A simple tokenizer used to transform a HLSL sourcecode into a collection of tokens. This tokenizer is used to parse tokens inside technique/pass block. See for the list of tokens that are supported inside technique/pass. This tokenizer is not really efficient compare to a DFA (Deterministic Finite-state Automaton) parser but enough suitable in our case (120 files from DirectX SDK parsed in 2s). Runs the tokenizer on an input string. The string to decode to tokens. An enumeration of tokens. Type of a token language. A Newline. An identifier. A number in hexadecimal form. A number. The symbol '='. A comma ','. A Semicolon ';'. A left curly brace '{'. A right curly brace '}'. A left parenthesis '('. A right parenthesis ')'. A left bracket '['. A right bracket ']'. A string. A preprocessor token '#' A double colon '::'. A dot '.'. A '<'. A '>'. An unknown symbol. A end of file token.