-
-
Couldn't load subscription status.
- Fork 10
Open
Description
I'm dynamically rendering an image and then show it as particle using ImageShape.
I'm adding it to the NewtonWIdget with the addEffect method on the state.
What would be the best way to dispose the image after the effect has finished?
The closest thing would be the ParticleConfiguration postEffectBuilder, but that would fail with more than 1 particle (which is common)
With onEffectStateChanged on the Newton it would be hard to know which images to dispose.
Maybe the Effect should have a dispose method that calls a user supplied callable or something similar.
Metadata
Metadata
Assignees
Labels
No labels