Crates.io | bevy_texture_atlas_tools |
lib.rs | bevy_texture_atlas_tools |
version | 0.6.1 |
source | src |
created_at | 2022-02-25 09:55:08.616528 |
updated_at | 2022-10-09 07:31:41.316366 |
description | tools for working with Bevy Texture Atlases |
homepage | |
repository | https://github.com/ickshonpe/texture-atlas-tools |
max_upload_size | |
id | 539337 |
size | 106,921 |
Collection of tools for working with Bevy Texture Atlases.
render
and bevy_asset
now.TextureAtlasPaddedBuilder
.MergeSpritesExt
on TextureAtlas
.TextureAtlas
s into a single larger TextureAtlas
.TextureAtlasBuilder
, TextureAtlasPaddedBuilder
that automatically adds border padding to sprites.To use this crate, add this line to the [dependencies]
section of your project's Cargo.toml
file:
bevy_texture_atlas_tools = "0.5"
Minimal example that builds a texture atlas with 8 x 8 padding around each sprite, run with:
cargo run --example padded_atlas