[][src]Module rustbatch::images

Structs

Sheet

Sheet is sprite sheet and nothing more. It will pack sprites to a rectangle and store all sprites and created image. It is then easy to create batch that uses image and draw to it with created sprites. Preferable use is loading all sprites from folder and using their names as keys.

Functions

pack

pack packs rectangles with a decent efficiency, you can easily render whole sheet if you don't trust me