Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RunAppendByRef<T>(ref T, NativeList<int>, int)

Executes the appending filter job, on the main thread. See IJobFilterExtensions.ScheduleAppend for more information on how appending is performed.
Read time 1 minuteLast updated 14 days ago

Definition

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

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

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

Parameters

jobData

T
The job and data to schedule.

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

arrayLength

Number of indices to filter starting from index 0.