Expand description
UiImageAtlas — engine-level resource holding the GPU texture atlas
and the persistent AssetUUID → AtlasRect cache used by the UI render
pipeline.
Previously these two pieces lived as fields on UiAgent, which made
the agent own GPU state in violation of the “agents stay strategists,
no buffered output” rule. They now live in
[khora_core::Resources] so the agent can be recreated freely
without losing the atlas, and the UiAgent code holds no GPU state at
all.
Structs§
- UiImage
Atlas - Resource holding the UI image atlas (GPU texture) and an
AssetUUID → AtlasRectcache mapping each uploaded UI image to its position inside the atlas.