image_from_bytes

Function image_from_bytes 

Source
pub fn image_from_bytes(
    tex_manager: Arc<RwLock<TextureManager>>,
    bytes: &[u8],
    path: &Path,
) -> Result<(TextureId, Vec2)>