Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SortJobDefer<T, U>

Returned by the SortJobDefer methods of NativeSortExtension. Call Schedule to schedule the sorting.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public struct SortJobDefer<T, U> where T : unmanaged where U : IComparer<T>

Remarks

When
RegisterGenericJobType
is used on SortJobDefer, to complete registration you must register
SortJobDefer<T,U>.SegmentSort
and
SortJobDefer<T,U>.SegmentSortMerge
.

Fields

Value

Description

CompComparison function.
DataThe data to sort.

Methods

Method

Description

ScheduleSchedules this job.

Structs

Struct

Description

SortJobDefer<T, U>.SegmentSortFor internal use only.
SortJobDefer<T, U>.SegmentSortMergeFor internal use only.