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

Function bloom_get_model_mesh_count

native/ios/src/lib.rs:1592–1597  ·  view source on GitHub ↗
(handle: f64)

Source from the content-addressed store, hash-verified

1590
1591#[no_mangle]
1592pub extern "C" fn bloom_get_model_mesh_count(handle: f64) -> f64 {
1593 match engine().models.get(handle) {
1594 Some(model) => model.meshes.len() as f64,
1595 None => 0.0,
1596 }
1597}
1598
1599#[no_mangle]
1600pub extern "C" fn bloom_get_model_material_count(handle: f64) -> f64 {

Callers 1

makeModelFunction · 0.50

Calls 2

engineFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected