Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 15 days ago

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule

RunFilterByRef<T>(T, NativeList<int>)

public static void RunFilterByRef<T>(this ref T jobData, NativeList<int> indices) where T : struct, IJobFilter

Parameters

jobData

T
The job and data to schedule. In this variant, the jobData is passed by reference, which may be necessary for unusually large job structs.

List of indices to be filtered. Filtered results will be stored in this list.