|
FastLED 3.9.15
|
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 runtime ignores any sha256= / fallback= metadata in .lnk files. These are parsed by fl::parse_lnk_with_metadata() for forward-compat and reserved for future integrity/retry features.
Declared here; defined in fl/asset/asset.cpp.hpp.
Definition at line 123 of file asset.cpp.hpp.
References FL_NOEXCEPT, 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: