|
FastLED 3.9.15
|
| void fl::register_asset | ( | fl::string_view | path, |
| const fl::url & | u ) |
Public helper: plug an asset mapping at runtime.
Register an asset path → URL mapping at runtime.
Used by:
ci/compiler/asset_scanner.py.Populates the same registry resolve_asset() consults. Called from:
ci/compiler/asset_scanner.py) — populates the full sketch manifest.Last writer wins for duplicate paths (scan then manually plug in tests).
Definition at line 118 of file asset.cpp.hpp.
References FL_NOEXCEPT, and fl::asset_detail::registry().
Here is the call graph for this function: