기술 자료

Unity Engine

Unity Engine

Loop

Provides intrinsics for controlling loop vectorization in Burst-compiled code.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class Loop

Static Methods

Method

Description

ExpectNotVectorizedMust be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is auto-vectorized.
ExpectVectorizedMust be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is not auto-vectorized.