Class BurstRuntime
Provides helper intrinsics that can be used at runtime.
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 |
GetHashCode32<T>()
Gets a 32-bits hashcode from a type computed for the AssemblyQualifiedName
Declaration
public static int GetHashCode32<T>()
Returns
Type | Description |
---|---|
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 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 |
GetHashCode64<T>()
Gets a 64-bits hashcode from a type computed for the AssemblyQualifiedName
Declaration
public static long GetHashCode64<T>()
Returns
Type | Description |
---|---|
Int64 |
Type Parameters
Name | Description |
---|---|
T | The type to compute the hash from |