UICanvas.RebuildInputBuffer() Method
Definition
Namespace: Brine2D.UI
Rebuilds the flat input dispatch buffer from top-level components by recursively expanding containers \([UIPanel](../UIPanel/index.md 'Brine2D\.UI\.UIPanel'), [UITabContainer](../UITabContainer/index.md 'Brine2D\.UI\.UITabContainer'), [UIScrollView](../UIScrollView/index.md 'Brine2D\.UI\.UIScrollView')\) at any nesting depth. Each entry carries the coordinate offset required so that the component's own Contains\(Vector2\) check works correctly against screen-space mouse positions. Called once per ProcessMouseInput\(IInputContext, bool\) frame before any handlers run.