ConcurrentArrayPool<T> Class
Namespace: Stride.Particles.SortersAssembly: Stride.Particles.dll
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[]) | ||
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[])