|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of the insertBox() function. More...
#include <GREM/resource/ArrayAtlasPacker.hpp>
Public Attributes | |
| Offset3D | offset |
| The offset, in pixels and layers, from the bottom left of the first layer of the atlas where the new box was inserted. | |
| bool | resized |
| Whether the atlas needed to grow in order to accommodate the new box or not. | |
Result of the insertBox() function.
| Offset3D grem::resource::ArrayAtlasPacker::InsertBoxResult::offset |
The offset, in pixels and layers, from the bottom left of the first layer of the atlas where the new box was inserted.
| bool grem::resource::ArrayAtlasPacker::InsertBoxResult::resized |
Whether the atlas needed to grow in order to accommodate the new box or not.
If true, the new required resolution and depth can be queried by calling getResolution() and getDepth().