makeCompiler(descriptor:)
Creates a new compiler from a compiler descriptor.
Declaration
func makeCompiler(descriptor: MTL4CompilerDescriptor) throws -> any MTL4CompilerParameters
- descriptor:
A Mtl4compilerdescriptor instance that configures the Mtl4compiler instance.
Return Value
A MTL4Compiler instance, or nil if the function failed.