← API Reference Struct

asge::game::resources::UIHitList

Registry-wide UI hit-test list for the frame just drawn, back to front.

#include <HitEntry.hpp>

Opt-in: only populated when this resource has been set (via Registry::SetResource<UIHitList>({})), and only then does RenderSystem rebuild it every frame from that frame's draw order. systems:: UIInteractionSystem walks it back-to-front (frontmost/topmost entity wins ties) to resolve which UIButton, if any, the pointer is over.

Public Attributes

#std::vector< HitEntry > m_Entries