文档

Unity Engine

Unity Engine

FloatMode

Represents the floating point optimization mode for compilation.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public enum FloatMode

Fields

Value

Description

DefaultUse the default target floating point mode - FloatMode.Strict.
DeterministicEnsure that floating point calculations are deterministic (64-bit only).
FastAllows algebraically equivalent optimizations (which can alter the results of calculations), it implies :
StrictNo floating point optimizations are performed.