Milky2018/moon_wgsl/common does not have a README file
pub(all) struct ComposableModuleDefinition {
name : String
sanitized_source : String
language : ShaderLanguage
file_path : String
shader_defs : HashMap[String, ShaderDefValue]
effective_defs : Array[String]
all_imports : HashSet[String]
additional_imports : Array[ImportDefinition]
}pub(all) struct ComposableModuleDescriptor {
source : String
file_path : String
language : ShaderLanguage
as_name : String?
additional_imports : Array[ImportDefinition]
shader_defs : HashMap[String, ShaderDefValue]
} derive(Eq, Debug)pub(all) struct NagaModuleDescriptor {
source : String
file_path : String
shader_type : ShaderType
shader_defs : HashMap[String, ShaderDefValue]
additional_imports : Array[ImportDefinition]
} derive(Eq, Debug)pub(all) struct PreprocessOutput {
preprocessed_source : String
imports : Array[ImportDefWithOffset]
}pub(all) struct PreprocessorMetaData {
name : String?
imports : Array[ImportDefWithOffset]
defines : HashMap[String, ShaderDefValue]
effective_defs : HashSet[String]
wgsl_directives : WgslDirectives
cleaned_source : String
}pub(all) struct WgslComposeOptions {
assets_base : String
defines : HashMap[String, Bool]
value_defines : HashMap[String, Int]
redirects : Array[WgslSymbolRedirect]
additional_imports : Array[ImportDefinition]
preserve_imported_entry_points : Bool
} derive(Eq, Debug)pub(all) struct WgslDiagnostic {
severity : WgslDiagnosticSeverity
message : String
rel_path : String?
symbol_name : String?
generated_start : Int?
source_start : Int?
} derive(Eq, Debug)pub(all) struct WgslDirectives {
enables : Array[EnableDirective]
requires : Array[RequiresDirective]
diagnostics : Array[DiagnosticDirective]
} derive(Eq, Debug)pub(all) struct WgslExportOutput {
source : String
source_catalog : Array[WgslSourceCatalogEntry]
source_map : Array[WgslSourceMapEntry]
diagnostics : Array[WgslDiagnostic]
} derive(Eq, Debug)