![]() |
ezEngine Release 26.3
|
Runtime data for efficiently accessing items within a generated texture atlas. More...
#include <TextureAtlasDesc.h>
Classes | |
| struct | Item |
Public Member Functions | |
| void | Clear () |
| ezResult | Serialize (ezStreamWriter &inout_stream) const |
| ezResult | Deserialize (ezStreamReader &inout_stream) |
Public Attributes | |
| ezUInt32 | m_uiNumLayers = 0 |
| ezArrayMap< ezUInt32, Item > | m_Items |
Runtime data for efficiently accessing items within a generated texture atlas.
After a texture atlas is created and processed, this structure provides the information needed to find and render individual items from the packed atlas texture. It maps unique item IDs to their rectangular regions within each layer of the atlas.
Runtime Usage: