Class FxPreprocessedTechniques
The techniques of an effect's PREPROCESSED translation unit (issue #407), produced by
ParseTechniquesPreprocessed(string, string): conditionals evaluated
with the compile's macros, #includes inlined and macros expanded, which is the text
mgfxc reads its techniques from. Spans are mapped back onto the author's lines.
public sealed record FxPreprocessedTechniques : IEquatable<FxPreprocessedTechniques>
- Inheritance
-
FxPreprocessedTechniques
- Implements
- Inherited Members
Properties
HasMacroProducedTechniques
True when at least one technique was produced by a macro expansion.
public bool HasMacroProducedTechniques { get; }
Property Value
LiteralTechniques
The subset of Techniques whose technique keyword the author wrote
(in the main file or an #included one), in source order. A technique missing from
this list was produced by a macro expansion, such as MonoGame's
TECHNIQUE(name, vs, ps).
public required IReadOnlyList<TechniqueInfo> LiteralTechniques { get; init; }
Property Value
Techniques
Every technique of the translation unit, in source order.
public required IReadOnlyList<TechniqueInfo> Techniques { get; init; }