Magnum/TextureTools/Atlas.h file

Function Magnum::TextureTools::atlas()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::TextureTools
Texture tools.

Functions

auto atlas(const Vector2i& atlasSize, const std::vector<Vector2i>& sizes, const Vector2i& padding = Vector2i()) -> std::vector<Range2Di>
Pack textures into texture atlas.