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

Function bloom_load_texture_from_image

native/windows/src/lib.rs:897–901  ·  view source on GitHub ↗
(handle: f64)

Source from the content-addressed store, hash-verified

895
896#[no_mangle]
897pub extern "C" fn bloom_load_texture_from_image(handle: f64) -> f64 {
898 let eng = engine();
899 let renderer_ptr = &mut eng.renderer as *mut bloom_shared::renderer::Renderer;
900 eng.textures.load_texture_from_image(handle, unsafe { &mut *renderer_ptr })
901}
902
903// --- Camera FFI ---
904

Callers

nothing calls this directly

Calls 2

engineFunction · 0.70

Tested by

no test coverage detected