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

Function bloom_load_model_bytes

native/web/src/lib.rs:751–754  ·  view source on GitHub ↗
(data: &[u8])

Source from the content-addressed store, hash-verified

749
750#[wasm_bindgen]
751pub fn bloom_load_model_bytes(data: &[u8]) -> f64 {
752 let eng = engine();
753 eng.models.load_model_with_textures(data, &mut eng.renderer)
754}
755
756#[wasm_bindgen]
757pub fn bloom_draw_model(handle: f64, x: f64, y: f64, z: f64, scale: f64, r: f64, g: f64, b: f64, a: f64) {

Callers

nothing calls this directly

Calls 2

engineFunction · 0.70

Tested by

no test coverage detected