SDL3Renderer.OnWindowResized(WindowResizedEvent) Method
Definition¶
Namespace: Brine2D.Rendering
private void OnWindowResized(Brine2D.Events.WindowResizedEvent evt);
Parameters¶
Remarks¶
Must be dispatched on the game loop thread. If the event bus ever changes to
cross-thread dispatch, _viewportWidth/_viewportHeight will need
atomic or lock-based synchronization to prevent torn reads during rendering.