C# Class SettingsCompiler.SettingsCompiler

Show file Open project: TheRealMJP/Shadows

Public Methods

Method Description
WriteEnumLabels ( List lines, List enumTypes ) : void
WriteEnumTypes ( List lines, List enumTypes ) : void

Private Methods

Method Description
CompileSettings ( string inputFilePath ) : Assembly
GenerateCPP ( List settings, string outputName, string outputPath, List enumTypes ) : void
GenerateHLSL ( List settings, string outputName, string outputPath, List enumTypes ) : void
GenerateHeader ( List settings, string outputName, string outputPath, List enumTypes ) : void
Main ( string args ) : int
ReflectSettings ( Assembly assembly, string inputFilePath, List settings, List enumTypes ) : void
ReflectType ( Type settingsType, List settings, List enumTypes, string group ) : void
Run ( string args ) : void
WriteIfChanged ( List lines, string outputPath ) : void

Method Details

WriteEnumLabels() public static method

public static WriteEnumLabels ( List lines, List enumTypes ) : void
lines List
enumTypes List
return void

WriteEnumTypes() public static method

public static WriteEnumTypes ( List lines, List enumTypes ) : void
lines List
enumTypes List
return void