Class BurstRuntime | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class BurstRuntime

    Provides helper intrinsics that can be used at runtime.

    Inheritance
    System.Object
    BurstRuntime
    Namespace: Unity.Burst
    Syntax
    public static class BurstRuntime

    Methods

    GetHashCode32(Type)

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

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

    The type to compute the hash from

    Returns
    Type Description
    System.Int32

    GetHashCode32<T>()

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

    Declaration
    public static int GetHashCode32<T>()
    Returns
    Type Description
    System.Int32
    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 System.Type.AssemblyQualifiedName. This method cannot be used from a burst job.

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

    Type to calculate a hash for

    Returns
    Type Description
    System.Int64

    GetHashCode64<T>()

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

    Declaration
    public static long GetHashCode64<T>()
    Returns
    Type Description
    System.Int64
    Type Parameters
    Name Description
    T

    The type to compute the hash from

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023