Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ConcurrentArrayPool<T> Class

    Namespace: Stride.Particles.Sorters
    Assembly: Stride.Particles.dll
    System.Object → ArrayPool<T> → ConcurrentArrayPool<T>
    Derived from ConcurrentArrayPool<T>:

    public class ConcurrentArrayPool<T> : ArrayPool<T> where T : struct
    Type Parameters
    Name Description
    T
    Name Description
    Methods
    Allocate(Int32)
    Clear()
    Free(T[])
    | Improve this Doc View Source

    Methods


    Allocate(Int32)

    public override T[] Allocate(int size)
    Parameters
    Type Name Description
    System.Int32 size
    Returns
    Type Description
    T[]
    Overrides
    Stride.Particles.Sorters.ArrayPool<T>.Allocate(System.Int32)

    Clear()

    public override void Clear()
    Overrides
    Stride.Particles.Sorters.ArrayPool<T>.Clear()

    Free(T[])

    public override void Free(T[] array)
    Parameters
    Type Name Description
    T[] array
    Overrides
    Stride.Particles.Sorters.ArrayPool<T>.Free(T[])

    Inherited Members

    ArrayPool<T>.Empty

    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