[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_exporter::ImageExporter;

mod image_exporter;

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

pub trait Exporter<T: Texture> {
    type Output;

    fn export(texture: &T) -> ExportResult<Self::Output>;
}