ドキュメント

Unity Engine

Unity Engine

SortJob<T, U>

Returned by the SortJob methods of NativeSortExtension. Call Schedule to schedule the sorting.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

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

Fields

Value

Description

CompComparison function.
DataThe data to sort.
LengthThe length to sort.

Methods

Method

Description

ScheduleSchedules this job.

Structs

Struct

Description

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