MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / fetch

Method fetch

native/shared/src/renderer/shader_include.rs:30–32  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

28}
29impl<'a> ShaderSource for BakedSource<'a> {
30 fn fetch(&self, path: &str) -> Option<&str> {
31 self.entries.iter().find(|(p, _)| *p == path).map(|(_, s)| *s)
32 }
33}
34
35/// Errors from the preprocessor. Always recoverable (caller keeps the

Callers 6

verify_abi_versionFunction · 0.80
snapshot_matches_libraryFunction · 0.80
newMethod · 0.80
expandFunction · 0.80

Calls 1

iterMethod · 0.80