|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for an AtlasPacker. More...
#include <GREM/resource/AtlasPacker.hpp>
Public Member Functions | |
| constexpr bool | operator== (const AtlasPackerOptions &other) const =default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| uint32_t | initialResolution = 128 |
| Initial width of the square atlas region, in pixels. | |
| uint32_t | padding = 0 |
| Empty space to reserve between inserted rectangles, in pixels. | |
| uint32_t | alignment = 1 |
| Align padded rectangles to a multiple of this number of pixels. | |
Configuration options for an AtlasPacker.
|
nodiscardconstexprdefault |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| uint32_t grem::resource::AtlasPackerOptions::initialResolution = 128 |
Initial width of the square atlas region, in pixels.
| uint32_t grem::resource::AtlasPackerOptions::padding = 0 |
Empty space to reserve between inserted rectangles, in pixels.
| uint32_t grem::resource::AtlasPackerOptions::alignment = 1 |
Align padded rectangles to a multiple of this number of pixels.