Method RunFilterByRef
RunFilterByRef<T>(ref T, NativeList<int>)
Executes the filter job, on the main thread. See IJobFilterExtensions.Schedule for more information on how appending is performed.
Declaration
public static void RunFilterByRef<T>(this ref T jobData, NativeList<int> indices) where T : struct, IJobFilter
Parameters
| Type | Name | Description |
|---|---|---|
| T | jobData | The job and data to schedule. In this variant, the jobData is passed by reference, which may be necessary for unusually large job structs. |
| NativeList<int> | indices | List of indices to be filtered. Filtered results will be stored in this list. |
Type Parameters
| Name | Description |
|---|---|
| T | Job type |