Extensions API #8375
bigtimebuddy
started this conversation in
RFC
Extensions API
#8375
Replies: 1 comment 1 reply
-
we could store the plugin type / name on the Plugin itself, as the developer of the plugin you would know after all :D
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
There's a lot of glue in PixiJS required to setup all the right plugins correct. For instance if you look at https://pixijs.io/customize you get something that looks like this to hook up all the necessary plugins:
This is a real mess! There are so many contact points for extending PixiJS.
Proposal
Introduce a new centralized API to handle/register plugins. This creates a much easier to understand setup. Potentially
name
isn't necessary for the renderer stuff if the class can provide a static name?Internally, PixiJS would create distributed handlers to figure out how to manage all the plugins.
Beta Was this translation helpful? Give feedback.
All reactions