Class BurstRuntime | Burst | 1.3.9
docs.unity.cn
    Show / Hide Table of Contents

    Class BurstRuntime

    Provides helper intrinsics that can be used at runtime.

    Inheritance
    Object
    BurstRuntime
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.Burst
    Syntax
    public static class BurstRuntime

    Methods

    GetHashCode32(Type)

    Gets a 32-bits hashcode from a type computed for the AssemblyQualifiedName This method cannot be used from a burst job.

    Declaration
    public static int GetHashCode32(Type type)
    Parameters
    Type Name Description
    Type type

    The type to compute the hash from

    Returns
    Type Description
    Int32

    The 32-bit hashcode.

    GetHashCode32<T>()

    Gets a 32-bits hashcode from a type computed for the AssemblyQualifiedName

    Declaration
    public static int GetHashCode32<T>()
    Returns
    Type Description
    Int32

    The 32-bit hashcode.

    Type Parameters
    Name Description
    T

    The type to compute the hash from

    GetHashCode64(Type)

    Gets a 64-bits hashcode from a type computed for the AssemblyQualifiedName. This method cannot be used from a burst job.

    Declaration
    public static long GetHashCode64(Type type)
    Parameters
    Type Name Description
    Type type

    Type to calculate a hash for

    Returns
    Type Description
    Int64

    The 64-bit hashcode.

    GetHashCode64<T>()

    Gets a 64-bits hashcode from a type computed for the AssemblyQualifiedName

    Declaration
    public static long GetHashCode64<T>()
    Returns
    Type Description
    Int64

    The 64-bit hashcode.

    Type Parameters
    Name Description
    T

    The type to compute the hash from

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 8, 2020