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