Common
Common intrinsics that are exposed across all Burst targets.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.Burst.Intrinsics
- Assembly: UnityEngine.BurstModule
public static class Common
Static Methods
Method | Description |
|---|---|
| InterlockedAnd | Bitwise and as an atomic operation. |
| InterlockedOr | Bitwise or as an atomic operation. |
| Pause | Hint that the current thread should pause. |
| Prefetch | Prefetch a pointer. |
| umul128 | Return the low half of the multiplication of two numbers, and the high part as an out parameter. |
Enums
Enum | Description |
|---|---|
| Common.Locality | Specifies the expected temporal locality of a prefetch operation. |
| Common.ReadWrite | Specifies whether a prefetch operation is for reading or writing. |