説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Loop.cs 618B

12345678910111213141516171819
  1. namespace Unity.Burst.CompilerServices
  2. {
  3. #if UNITY_BURST_EXPERIMENTAL_LOOP_INTRINSICS
  4. public static class Loop
  5. {
  6. /// <summary>
  7. /// Must be called from inside a loop.
  8. /// Will cause a compiler error in Burst-compiled code if the loop is not auto-vectorized.
  9. /// </summary>
  10. public static void ExpectVectorized() { }
  11. /// <summary>
  12. /// Must be called from inside a loop.
  13. /// Will cause a compiler error in Burst-compiled code if the loop is auto-vectorized.
  14. /// </summary>
  15. public static void ExpectNotVectorized() { }
  16. }
  17. #endif
  18. }