docs.unity3d.com
    目次を表示する/隠す

    Struct SortJob<T, U>

    Returned by the SortJob methods of NativeSortExtension. Call Schedule to schedule the sorting.

    Namespace: Unity.Collections
    Syntax
    public struct SortJob<T, U>
        where T : struct where U : IComparer<T>
    Type Parameters
    Name Description
    T

    The type of the elements to sort.

    U

    The type of the comparer.

    Fields

    Comp

    Comparison function.

    Declaration
    public U Comp
    Field Value
    Type Description
    U

    Data

    The data to sort.

    Declaration
    public T*Data
    Field Value
    Type Description
    T*

    Length

    The length to sort.

    Declaration
    public int Length
    Field Value
    Type Description
    Int32

    Methods

    Schedule(JobHandle)

    Schedules this job.

    Declaration
    public JobHandle Schedule(JobHandle inputDeps = default(JobHandle))
    Parameters
    Type Name Description
    JobHandle inputDeps

    Handle of a job to depend upon.

    Returns
    Type Description
    JobHandle

    The handle of this newly scheduled job.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)