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

Function set_bundle_path

native/watchos/src/textures.rs:160–164  ·  view source on GitHub ↗
(p: &str)

Source from the content-addressed store, hash-verified

158static BUNDLE_PATH: Mutex<String> = Mutex::new(String::new());
159
160pub fn set_bundle_path(p: &str) {
161 let mut b = BUNDLE_PATH.lock().unwrap();
162 b.clear();
163 b.push_str(p);
164}
165
166/// Read a PNG file's IHDR chunk and return (width, height). Returns None for
167/// any parse failure (wrong magic, truncated, etc.).

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected