Loop
Provides intrinsics for controlling loop vectorization in Burst-compiled code.
읽는 시간 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. |