기술 자료

Unity Engine

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.
읽는 시간 1분최근 업데이트: 한 달 전

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.