Contents

MTLLibraryOptimizationLevel.size

An optimization option for the Metal compiler that prioritizes minimizing the size of its output binaries, which may also reduce compile time.

Declaration

case size

Mentioned in

Discussion

This option is similar to MTLLibraryOptimizationLevel.default, but adds optimizations that prioritize minimizing a shader’s executable size, which may also reduce compile time.

See Also

Optimization options