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

Function bloom_load_image_bytes

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

Source from the content-addressed store, hash-verified

696
697#[wasm_bindgen]
698pub fn bloom_load_image_bytes(data: &[u8]) -> f64 {
699 engine().textures.load_image(data)
700}
701
702#[wasm_bindgen]
703pub fn bloom_image_resize(handle: f64, w: f64, h: f64) {

Callers

nothing calls this directly

Calls 2

load_imageMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected