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

Function bloom_load_texture_from_image

native/linux/src/lib.rs:1044–1048  ·  view source on GitHub ↗
(handle: f64)

Source from the content-addressed store, hash-verified

1042
1043#[no_mangle]
1044pub extern "C" fn bloom_load_texture_from_image(handle: f64) -> f64 {
1045 let eng = engine();
1046 let renderer_ptr = &mut eng.renderer as *mut bloom_shared::renderer::Renderer;
1047 eng.textures.load_texture_from_image(handle, unsafe { &mut *renderer_ptr })
1048}
1049
1050// --- Camera FFI ---
1051

Callers

nothing calls this directly

Calls 2

engineFunction · 0.70

Tested by

no test coverage detected