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

Function bloom_load_shader

native/macos/src/lib.rs:1530–1533  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

1528
1529#[no_mangle]
1530pub extern "C" fn bloom_load_shader(source_ptr: *const u8) -> f64 {
1531 let source = str_from_header(source_ptr);
1532 engine().renderer.load_custom_shader(source) as f64
1533}
1534
1535// ============================================================
1536// Phase 1c — material system FFI

Callers

nothing calls this directly

Calls 3

str_from_headerFunction · 0.85
load_custom_shaderMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected