Class NativeSortExtension | Collections | 0.4.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class NativeSortExtension

    Inheritance
    Object
    NativeSortExtension
    Namespace: Unity.Collections
    Syntax
    public static class NativeSortExtension

    Methods

    Sort<T>(T*, Int32)

    Declaration
    public static void Sort<T>(T*array, int length)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    T* array
    Int32 length
    Type Parameters
    Name Description
    T

    Sort<T>(NativeArray<T>)

    Declaration
    public static void Sort<T>(this NativeArray<T> array)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    NativeArray<T> array
    Type Parameters
    Name Description
    T

    Sort<T>(NativeSlice<T>)

    Declaration
    public static void Sort<T>(this NativeSlice<T> slice)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    NativeSlice<T> slice
    Type Parameters
    Name Description
    T

    Sort<T>(UnsafeList)

    Declaration
    public static void Sort<T>(this UnsafeList list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    UnsafeList list
    Type Parameters
    Name Description
    T

    Sort<T>(NativeList<T>)

    Declaration
    public static void Sort<T>(this NativeList<T> list)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    NativeList<T> list
    Type Parameters
    Name Description
    T

    Sort<T, U>(T*, Int32, U)

    Declaration
    public static void Sort<T, U>(T*array, int length, U comp)
        where T : struct where U : IComparer<T>
    Parameters
    Type Name Description
    T* array
    Int32 length
    U comp
    Type Parameters
    Name Description
    T
    U

    Sort<T, U>(NativeArray<T>, U)

    Declaration
    public static void Sort<T, U>(this NativeArray<T> array, U comp)
        where T : struct where U : IComparer<T>
    Parameters
    Type Name Description
    NativeArray<T> array
    U comp
    Type Parameters
    Name Description
    T
    U

    Sort<T, U>(NativeSlice<T>, U)

    Declaration
    public static void Sort<T, U>(this NativeSlice<T> slice, U comp)
        where T : struct where U : IComparer<T>
    Parameters
    Type Name Description
    NativeSlice<T> slice
    U comp
    Type Parameters
    Name Description
    T
    U

    Sort<T, U>(UnsafeList, U)

    Declaration
    public static void Sort<T, U>(this UnsafeList list, U comp)
        where T : struct where U : IComparer<T>
    Parameters
    Type Name Description
    UnsafeList list
    U comp
    Type Parameters
    Name Description
    T
    U

    Sort<T, U>(NativeList<T>, U)

    Declaration
    public static void Sort<T, U>(this NativeList<T> list, U comp)
        where T : struct where U : IComparer<T>
    Parameters
    Type Name Description
    NativeList<T> list
    U comp
    Type Parameters
    Name Description
    T
    U

    SortJob<T>(T*, Int32, JobHandle)

    Declaration
    public static JobHandle SortJob<T>(T*array, int length, JobHandle inputDeps = null)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    T* array
    Int32 length
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T

    SortJob<T>(NativeArray<T>, JobHandle)

    Declaration
    public static JobHandle SortJob<T>(this NativeArray<T> array, JobHandle inputDeps = null)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    NativeArray<T> array
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX