暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }