Function shader_prepper::process_file
source · pub fn process_file(
file_path: &str,
include_provider: &mut dyn IncludeProvider
) -> Result<Vec<SourceChunk>, Error>
Expand description
Process a single file, and then any code recursively referenced.
include_provider
is used to read all of the files, including the one at file_path
.