macro_rules! include_wesl {
($artifact_name:literal) => { ... };
}Expand description
Include a WGSL file compiled with wesl::CompileResult::write_artifact as a string.
The argument corresponds to the artifact_name passed to write_artifact.
This is a very simple convenience macro. See the crate documentation for a usage example.