[go: up one dir, main page]

texture_packer 0.15.0

A texture packing library using the skyline heuristic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use texture::Texture;

pub use self::image_importer::ImageImporter;

mod image_importer;

pub type ImportResult<T> = Result<T, String>;

pub trait Importer<I> {
    type Texture: Texture;

    fn import(input: I) -> ImportResult<Self::Texture>;
}