Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IJobFilterExtensions

Extension class for the IJobFilter job type providing custom overloads for scheduling and running.
Read time 2 minutesLast updated 14 days ago

Definition

  • Type: Class
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
public static class IJobFilterExtensions

Static Methods

Method

Description

EarlyJobInitGathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself.
RunAppendExecutes the appending filter job, on the main thread. See IJobFilterExtensions.ScheduleAppend for more information on how appending is performed.
RunAppendByRefExecutes the appending filter job, on the main thread. See IJobFilterExtensions.ScheduleAppend for more information on how appending is performed.
RunFilterExecutes the filter job, on the main thread. See IJobFilterExtensions.Schedule for more information on how appending is performed.
RunFilterByRefExecutes the filter job, on the main thread. See IJobFilterExtensions.Schedule for more information on how appending is performed.
ScheduleAppendSchedules a job that will execute the filter job for all integers in indices from index 0 until arrayLength. Each integer which passes the filter (i.e. true is returned from Execute()) will be appended to the indices list.
ScheduleAppendByRefSchedules a job that will execute the filter job for all integers in indices from index 0 until arrayLength. Each integer which passes the filter (i.e. true is returned from Execute()) will be appended to the indices list.
ScheduleFilterSchedules a job that will execute the filter job for all integers in indices from index 0 until arrayLength. Each integer which passes the filter (i.e. true is returned from Execute()) will be used to repopulate the indices list. This has the effect of excluding all integer values that do not pass the filter.
ScheduleFilterByRefSchedules a job that will execute the filter job for all integers in indices from index 0 until arrayLength. Each integer which passes the filter (i.e. true is returned from Execute()) will be used to repopulate the indices list. This has the effect of excluding all integer values that do not pass the filter.