# RunFilter<T>(T, NativeList<int>)

> Executes the filter job, on the main thread. See IJobFilterExtensions.Schedule for more information on how appending is performed.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs](/engine/6000.7/script-reference/unity/jobs.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static void RunFilter<T>(this T jobData, NativeList<int> indices) where T : struct, IJobFilter
```

### Parameters

**** (T): The job and data to schedule.**** (\[NativeList\<int>]\(/engine/6000.7/script-reference/unity/collections/nativelist1)): List of indices to be filtered. Filtered results will be stored in this list.
