GetOrCreatePartiallyUnsafeWithHashCode<TSubContext>(uint, long)
Creates a shared static data unsafely for the specified context and sub-context (usable from both C# and HPC#).
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Burst
- Assembly: UnityEngine.BurstModule
GetOrCreatePartiallyUnsafeWithHashCode<T>(uint, long)
public static SharedStatic<T> GetOrCreatePartiallyUnsafeWithHashCode<TSubContext>(uint alignment, long hashCode)
Parameters
Returns
Type | Description |
|---|---|
| SharedStatic<T> | A newly created or previously cached shared-static for the hashcodes provided. |