/// <summary> /// Update particles /// </summary> /// <param name="pool">Pool of particles to process</param> /// <param name="delta">Delta time in seconds</param> /// <param name="start">Starting particle index in the pool</param> /// <param name="count">Number of particles to process</param> public abstract void Update(ParticlePool pool, float delta, int start, int count);
/// <summary> /// Compute particle properties based on their phase /// </summary> /// <param name="pool">Pool of particles to process</param> /// <param name="bufferAccessor">RenderData that receives the properties, the accessor will be reset to 0</param> public abstract void ComputeProperties(ParticlePool pool, ParticleBufferAccessor bufferAccessor);