Exemple #1
0
            internal static void ExecuteInternal(ref JobChunkExtensions.JobDataLiveFilter <T> jobData, ref JobRanges ranges, int jobIndex)
            {
                int num;
                int num2;

                while (JobsUtility.GetWorkStealingRange(ref ranges, jobIndex, out num, out num2))
                {
                    jobData.iterator.MoveToChunkWithoutFiltering(num);
                    if (jobData.iterator.MatchesFilter())
                    {
                        ArchetypeChunk currentChunk = jobData.iterator.GetCurrentChunk();
                        jobData.data.Execute(currentChunk, num);
                    }
                }
            }
Exemple #2
0
 public static void Execute(ref JobChunkExtensions.JobDataLiveFilter <T> jobData, IntPtr additionalPtr, IntPtr bufferRangePatchData, ref JobRanges ranges, int jobIndex)
 {
     JobChunkExtensions.JobChunkLiveFilter_Process <T> .ExecuteInternal(ref jobData, ref ranges, jobIndex);
 }