Class BurstRuntime
Provides helper intrinsics that can be used at runtime.
Inherited Members
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 |