Contents

makeCompiler(descriptor:)

Creates a new compiler from a compiler descriptor.

Declaration

func makeCompiler(descriptor: MTL4CompilerDescriptor) throws -> any MTL4Compiler

Parameters

Return Value

A MTL4Compiler instance, or nil if the function failed.