|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of the insertRectangle() function. More...
#include <GREM/resource/AtlasPacker.hpp>
Public Attributes | |
| Offset2D | offset |
| The offset, in pixels, from the bottom left of the atlas where the new rectangle was inserted. | |
| bool | resized |
| Whether the atlas needed to grow in order to accommodate the new rectangle or not. | |
Result of the insertRectangle() function.
| Offset2D grem::resource::AtlasPacker::InsertRectangleResult::offset |
The offset, in pixels, from the bottom left of the atlas where the new rectangle was inserted.
| bool grem::resource::AtlasPacker::InsertRectangleResult::resized |
Whether the atlas needed to grow in order to accommodate the new rectangle or not.
If true, the new required resolution can be queried by calling getResolution().