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
pub fn get_preprocessor_data(
source: &str,
) -> (Option<String>, Vec<ImportDefinition>, HashMap<String, ShaderDefValue>)Get module name and all required imports (ignoring shader_defs) from a shader string