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

Function bloom_compile_material_instanced

native/android/src/lib.rs:918–924  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

916
917#[no_mangle]
918pub extern "C" fn bloom_compile_material_instanced(source_ptr: *const u8) -> f64 {
919 let source = str_from_header(source_ptr);
920 match engine().renderer.compile_material_instanced(source) {
921 Ok(handle) => handle as f64,
922 Err(e) => { eprintln!("[material] instanced compile failed: {:?}", e); 0.0 }
923 }
924}
925
926#[no_mangle]
927pub 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