free_unused_font_atlases_system

Function free_unused_font_atlases_system 

Source
pub fn free_unused_font_atlases_system(
    font_atlas_sets: ResMut<'_, FontAtlasSet>,
    font_events: MessageReader<'_, '_, AssetEvent<Font>>,
)
Expand description

A system that automatically frees unused texture atlases when a font asset is removed.