Function naga_oil::compose::get_preprocessor_data
source · pub fn get_preprocessor_data(
source: &str
) -> (Option<String>, Vec<ImportDefinition>, HashMap<String, ShaderDefValue>)
Expand description
Get module name and all required imports (ignoring shader_defs) from a shader string