Enumeration

MTLLanguageVersion

Metal shading language versions.

Declaration

typedef enum MTLLanguageVersion : NSUInteger {
    ...
} MTLLanguageVersion;

Topics

Version Numbers

MTLLanguageVersion1_0

Version 1.0 of the Metal shading language.

MTLLanguageVersion1_1

Version 1.1 of the Metal shading language.

MTLLanguageVersion1_2

Version 1.2 of the Metal shading language.

MTLLanguageVersion2_0

Version 2.0 of the Metal shading language.

MTLLanguageVersion2_1

Version 2.1 of the Metal shading language.

MTLLanguageVersion2_2

Version 2.2 of the Metal shading language.

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.

languageVersion

The language version used to interpret the library source code.

preprocessorMacros

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