Loop
Provides intrinsics for controlling loop vectorization in Burst-compiled code.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.Burst.CompilerServices
- Assembly: UnityEngine.BurstModule
public static class Loop
Static Methods
Method | Description |
|---|---|
| ExpectNotVectorized | Must be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is auto-vectorized. |
| ExpectVectorized | Must be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is not auto-vectorized. |