Table of Contents

Class ParticleSorterCustom<T>

Namespace
Stride.Particles.Sorters
Assembly
Stride.Particles.dll

The custom sorter uses a user-defined method for generating sort index from a user-defined field

public abstract class ParticleSorterCustom<T> where T : struct

Type Parameters

T
Inheritance
ParticleSorterCustom<T>
Derived

Constructors

ParticleSorterCustom(ParticlePool, ParticleFieldDescription<T>)

protected ParticleSorterCustom(ParticlePool pool, ParticleFieldDescription<T> fieldDesc)

Parameters

pool ParticlePool
fieldDesc ParticleFieldDescription<T>

Fields

ArrayPool

protected readonly ConcurrentArrayPool<SortedParticle> ArrayPool

Field Value

ConcurrentArrayPool<SortedParticle>

ParticlePool

protected readonly ParticlePool ParticlePool

Field Value

ParticlePool

fieldDesc

protected readonly ParticleFieldDescription<T> fieldDesc

Field Value

ParticleFieldDescription<T>