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

Function library

native/shared/src/renderer/shader_library.rs:29–31  ·  view source on GitHub ↗

The single shared source resolver for built-in shaders. Phase 1 preps it but no pipelines consume it yet — that's Phase 1b.

()

Source from the content-addressed store, hash-verified

27/// The single shared source resolver for built-in shaders. Phase 1
28/// preps it but no pipelines consume it yet — that's Phase 1b.
29pub fn library() -> impl ShaderSource {
30 BakedSource { entries: ENTRIES }
31}
32
33/// Self-check: the ABI header parses to a known version. Called from
34/// Renderer::new so a bad merge is caught at startup, not at the first

Callers 5

verify_abi_versionFunction · 0.85
snapshot_matches_libraryFunction · 0.85
newMethod · 0.85

Calls

no outgoing calls