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 |