ドキュメント

Unity Engine

Unity Engine

IsConstantExpression

Performs a compile-time check on whether the provided argument is known to be constant by Burst.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IsConstantExpression<T>(T)

Performs a compile-time check on whether the provided argument is known to be constant by Burst.
public static bool IsConstantExpression<T>(T t) where T : unmanaged

Parameters

t

T
The value to check whether it is constant.

Returns

Type

Description

boolTrue if Burst knows at compile-time that it is a constant, false otherwise.

IsConstantExpression(void*)

Performs a compile-time check on whether the provided argument is known to be constant by Burst.
public static bool IsConstantExpression(void* t)

Parameters

The value to check whether it is constant.

Returns

Type

Description

boolTrue if Burst knows at compile-time that it is a constant, false otherwise.