peterigz / timelinefxlib

C++ Library to use Particle Effects from the New version of TimelineFX Editor
MIT License
11 stars 1 forks source link

Refactored Emitter and Effect state soa plus changes to multithreading #8

Closed peterigz closed 1 year ago

peterigz commented 1 year ago

Emitter and Effect state structs now use a lot less memory. Multithreading keeps same emitters in the same threads for better caching. Works out faster then scattering spawn/control jobs without keeping emitter work together.