Loop
Provides intrinsics for controlling loop vectorization in Burst-compiled code.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |