Egui::Icon
Class methods
cached(provider : String, name : String, tint : Color32 | Nil, source : String) : Svg
The runtime half of from_file: memoize the parsed icon per
(provider, name, tint). A miss (fresh parse) happens once per
key for the life of the process.
Macros
from_file(provider, name, tint = nil)
Embed icons/<provider>/<name>.svg at the call site. The
provider is always explicit — there is no default set.