Home › Forums › TimelineFX Editor › Render order for C++ Integration › Reply To: Render order for C++ Integration
In the editor (and blitzmax modules), I have a fixed pool of particles, so when an emitter spawns a particle it grabs a particle from the pool and adds it to a drawlist, so basically that drawlist is rendered in the order that it’s added to the list so newer particles are drawn on top of older ones. When the particle “dies” it’s removed from the draw list and added back to the pool.
The order won’t matter for emitters with Additive blending but it definitely does matter for standard alpha blending emitters.
Hope that helps!