기술 자료

Unity Engine

Unity Engine

ExpectAliased

Will cause a compiler error in Burst-compiled code if a and b do not alias.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

ExpectAliased(void*, void*)

Will cause a compiler error in Burst-compiled code if a and b do not alias.
public static void ExpectAliased(void* a, void* b)

Parameters

A pointer to do aliasing checks on.

A pointer to do aliasing checks on.

ExpectAliased<T, U>(T, T)

Will cause a compiler error in Burst-compiled code if a and b do not alias.
public static void ExpectAliased<A, B>(in A a, in B b) where A : struct where B : struct

Parameters

a

T
A reference to do aliasing checks on.

b

T
A reference to do aliasing checks on.

ExpectAliased<T>(void*, T)

Will cause a compiler error in Burst-compiled code if a and b do not alias.
public static void ExpectAliased<B>(void* a, in B b) where B : struct

Parameters

A pointer to do aliasing checks on.

b

T
A reference to do aliasing checks on.

ExpectAliased<T>(T, void*)

Will cause a compiler error in Burst-compiled code if a and b do not alias.
public static void ExpectAliased<A>(in A a, void* b) where A : struct

Parameters

a

T
A reference to do aliasing checks on.

A pointer to do aliasing checks on.