示例#1
0
 /// <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);
示例#2
0
 /// <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);