ShaderCompiler::VariantDirective struct

Named variant from a "variant" directive.

Public variables

String Name
Variant name, e.g. "DITHER", or "PLUS_DITHER" for "variant PLUS + DITHER;".
String Define
Macros the variant is compiled with, separated by spaces (see Preprocessor::DefineVariant()).