Delegate DynamicArray<T>.SortComparer
Delegate for custom sorting comparison.
Namespace: UnityEngine.Rendering
Syntax
public delegate int SortComparer(T x, T y);
Parameters
Type | Name | Description |
---|---|---|
T | x | First object. |
T | y | Second object. |
Returns
Type | Description |
---|---|
Int32 | -1 if x smaller than y, 1 if x bigger than y and 0 otherwise. |