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

Function bloom_compile_material_instanced

native/ios/src/lib.rs:1334–1340  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

1332
1333#[no_mangle]
1334pub extern "C" fn bloom_compile_material_instanced(source_ptr: *const u8) -> f64 {
1335 let source = str_from_header(source_ptr);
1336 match engine().renderer.compile_material_instanced(source) {
1337 Ok(handle) => handle as f64,
1338 Err(e) => { eprintln!("[material] instanced compile failed: {:?}", e); 0.0 }
1339 }
1340}
1341
1342#[no_mangle]
1343pub extern "C" fn bloom_create_instance_buffer(

Callers 1

compileMaterialInstancedFunction · 0.50

Calls 3

str_from_headerFunction · 0.85
engineFunction · 0.70

Tested by

no test coverage detected