Crate texture_packer[][src]

Library for packing different textures into a texture atlas for efficient GPU rendering.

Modules

exporter

Defines a trait for exporting Textures to arbitrary data.

importer

Defines a trait for importing arbitrary data and converting them to Textures.

texture

Traits for a texture and its pixel contents.

Structs

Frame

Boundaries and properties of a packed texture.

MultiTexturePacker

Texture packer supporting multiple atlases.

Rect

Defines a rectangle in pixels with the origin at the top-left of the texture atlas.

TexturePacker

Packs textures into a single texture atlas.

TexturePackerConfig

Configuration for a texture packer.