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

Function bloom_load_texture_from_image

native/web/src/lib.rs:723–727  ·  view source on GitHub ↗
(handle: f64)

Source from the content-addressed store, hash-verified

721
722#[wasm_bindgen]
723pub fn bloom_load_texture_from_image(handle: f64) -> f64 {
724 let eng = engine();
725 let renderer_ptr = &mut eng.renderer as *mut Renderer;
726 eng.textures.load_texture_from_image(handle, unsafe { &mut *renderer_ptr })
727}
728
729#[wasm_bindgen]
730pub fn bloom_gen_texture_mipmaps(_handle: f64) {

Callers

nothing calls this directly

Calls 2

engineFunction · 0.70

Tested by

no test coverage detected