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

Function bloom_compile_material_instanced

native/windows/src/lib.rs:1155–1161  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

1153
1154#[no_mangle]
1155pub extern "C" fn bloom_compile_material_instanced(source_ptr: *const u8) -> f64 {
1156 let source = str_from_header(source_ptr);
1157 match engine().renderer.compile_material_instanced(source) {
1158 Ok(handle) => handle as f64,
1159 Err(e) => { eprintln!("[material] instanced compile failed: {:?}", e); 0.0 }
1160 }
1161}
1162
1163#[no_mangle]
1164pub extern "C" fn bloom_create_instance_buffer(

Callers

nothing calls this directly

Calls 3

str_from_headerFunction · 0.85
engineFunction · 0.70

Tested by

no test coverage detected