Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ParticleSorterCustom<T> Class

    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

    System.Object → ParticleSorterCustom<T>
    Derived from ParticleSorterCustom<T>: ParticleSorterAge ParticleSorterDepth ParticleSorterOrder

    public abstract class ParticleSorterCustom<T>
        where T : struct
    Type Parameters
    Name Description
    T
    Name Description
    Constructors
    ParticleSorterCustom(ParticlePool, ParticleFieldDescription<T>)
    Fields
    ArrayPool
    fieldDesc
    ParticlePool
    | Improve this Doc View Source

    Constructors


    ParticleSorterCustom(ParticlePool, ParticleFieldDescription<T>)

    protected ParticleSorterCustom(ParticlePool pool, ParticleFieldDescription<T> fieldDesc)
    Parameters
    Type Name Description
    ParticlePool pool
    ParticleFieldDescription<T> fieldDesc
    | Improve this Doc View Source

    Fields


    ArrayPool

    protected readonly ConcurrentArrayPool<SortedParticle> ArrayPool
    Field Value
    Type Description
    ConcurrentArrayPool<SortedParticle>

    fieldDesc

    protected readonly ParticleFieldDescription<T> fieldDesc
    Field Value
    Type Description
    ParticleFieldDescription<T>

    ParticlePool

    protected readonly ParticlePool ParticlePool
    Field Value
    Type Description
    ParticlePool

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation