Function get_texture_or_create_from_file

Source
pub fn get_texture_or_create_from_file(
    identifier: impl AsRef<str>,
    file: impl AsRef<Path>,
) -> Option<Texture>
Expand description

Attempts to retrieve a texture or creates it from the given file path.