Expand description

Rectangle packing algorithm

Structs

Configuration for a texture packer.

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

Rect that could be flipped sideway (rotated by 90 degrees clockwise)

Derived from the lightmap packer but uses a vector instead a tree, sourced from rectpack2D

Same implementation used by egui.

Constants

Traits

Functions

Sorts the input data using the heuristics defined in RECT_SORT_FUNCTIONS to find the best possible packing, the results might end up been inside multiple atlases.