Contents

MTLCompileOptions

Compilation settings for a Metal shader library.

Declaration

class MTLCompileOptions

Mentioned in

Overview

You can configure the Metal compiler’s options by setting any or all of an MTLCompileOptions instance’s properties, including the following:

You can compile a library with your compile options instance by calling an MTLDevice instance’s makeLibrary(source:options:) or makeLibrary(source:options:completionHandler:) method.

Topics

Configuring the compiler options

Configuring the library output options

Instance Properties

See Also

Shader library management