Class DynamicArrayExtensions
Extension class for DynamicArray
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
public static class DynamicArrayExtensions
Methods
QuickSort<T>(DynamicArray<T>)
Perform a quick sort on the DynamicArray
Declaration
public static void QuickSort<T>(this DynamicArray<T> array)
where T : IComparable<T>, new()
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicArray<T> | array | Array on which to perform the quick sort. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the array. |
QuickSort<T>(DynamicArray<T>, DynamicArray<T>.SortComparer)
Perform a quick sort on the DynamicArray
Declaration
public static void QuickSort<T>(this DynamicArray<T> array, DynamicArray<T>.SortComparer comparer)
where T : new()
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicArray<T> | array | Array on which to perform the quick sort. |
| DynamicArray.SortComparer<> | comparer | Comparer used for sorting. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the array. |