Temp
Use a temporary allocation.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Temp = 2
Remarks
The fastest allocation. Use it for allocations with a lifespan of one frame or fewer. You can't use Temp to pass allocations to NativeContainer instances stored in a job's member field.