Skip to content

Conversation

@ThomasMiz
Copy link
Contributor

Summary of the PR

The ISurface.PreUpdate event would be used to run things like Input, which need to be updated before the user code's Update is called.

In the current state of the library, depending on how the user hooks to the events, it is possible for the input to hook to the IView.Update after the user code, which would result in the user code not seeing the latest input (until the next update).

PreUpdate would not ensure things like input are up to date, but Update would.

The ISurface.PreUpdate event would be used to run things like Input, which need to be updated before the user code's Update is called.

In the current state of the library, depending on how the user hooks to the events, it is possible for the input to hook to the IView.Update after the user code, which would result in the user code not seeing the latest input (until the next update).
@ThomasMiz ThomasMiz requested a review from Perksey as a code owner October 11, 2021 19:01
@Perksey Perksey merged commit 6418f50 into proposal/all-3.0-proposals Oct 11, 2021
@Perksey Perksey deleted the proposal/windowing-3.0-preupdate branch October 11, 2021 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants