-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge
InitModifier
and UpdateModifier
Merge the `InitModifier` and `UpdateModifier` supertraits into their `Modifier` subtrait, and delete them. This unifies handling of modifiers for the init and update contexts. The modifiers can now easily be compatible with both contexts by simply returning the appropriate `ModifierContext` without having to duplicate the implementation into each supertrait. At this time, `RenderModifier` still contains some hard-coded elements not yet transitioned to a fully data driven model (mainly, anything related to texture resources), and therefore cannot be merged too. However the longer term plan is to eventually merge it and retain a single `Modifier` trait.
- Loading branch information
Showing
18 changed files
with
649 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.