MTLCompileOptions.FastMathEnabled Property

Definition

Gets or sets a Boolean value that controls whether the compiler may optionally violate IEEE 754 with its optimizations, and may use high-precision math functions for single-precision vectors and scalars.

public virtual bool FastMathEnabled { [Foundation.Export("fastMathEnabled")] get; [Foundation.Export("setFastMathEnabled:")] set; }
member this.FastMathEnabled : bool with get, set

Property Value

Attributes

Applies to