image_from_file

Function image_from_file 

Source
pub fn image_from_file(
    tex_manager: Arc<RwLock<TextureManager>>,
    path: &Path,
) -> Result<(TextureId, Vec2)>