Instance Property

languageVersion

The language version used to interpret the library source code.

Declaration

@property(readwrite, nonatomic) MTLLanguageVersion languageVersion;

Discussion

By default, Metal uses the most recent language version.

See Also

Specifying Compiler Options

fastMathEnabled

A Boolean value that indicates whether the compiler can perform optimizations for floating-point arithmetic that may violate the IEEE 754 standard.

MTLLanguageVersion

Metal shading language versions.

preprocessorMacros

A list of preprocessor macros to apply when compiling the library source.