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