Function get_texture_or_create_from_memory

Source
pub fn get_texture_or_create_from_memory(
    identifier: impl AsRef<str>,
    memory: impl AsRef<[u8]>,
) -> Option<Texture>
Expand description

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