|
FastLED 3.10.6
|
Resolve an asset handle to a URL (or local file path) at runtime.
Resolution rules:
window.fastledAssetManifest (mirrored into the C++ registry by generated code from ci/compiler/asset_scanner.py).fl::url if the file exists on disk. Otherwise, if a sibling <path>.lnk exists, returns the URL from the .lnk — same fallback as WASM.The C++ registry ignores any sha256= / fallback= metadata in .lnk files; fl::parse_lnk_with_metadata() only carries them. On WASM the browser loader enforces both before the asset reaches the sketch (#4025).
Declared here; defined in fl/asset/asset.cpp.hpp.
Definition at line 123 of file asset.cpp.hpp.
References FL_NO_EXCEPT, fl::url::isValid(), and fl::asset_detail::lookup_registry().
Referenced by fl::UIAudio::UIAudio().
Here is the call graph for this function:
Here is the caller graph for this function: