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

Function bloom_load_texture_from_image

native/android/src/lib.rs:660–664  ·  view source on GitHub ↗
(handle: f64)

Source from the content-addressed store, hash-verified

658
659#[no_mangle]
660pub extern "C" fn bloom_load_texture_from_image(handle: f64) -> f64 {
661 let eng = engine();
662 let renderer_ptr = &mut eng.renderer as *mut bloom_shared::renderer::Renderer;
663 eng.textures.load_texture_from_image(handle, unsafe { &mut *renderer_ptr })
664}
665
666// --- Camera FFI ---
667

Callers

nothing calls this directly

Calls 2

engineFunction · 0.70

Tested by

no test coverage detected