Contents

makeBinaryFunction(descriptor:compilerTaskOptions:)

Creates a new binary visible or intersection function asynchronously.

Declaration

func makeBinaryFunction(descriptor: MTL4BinaryFunctionDescriptor, compilerTaskOptions: MTL4CompilerTaskOptions? = nil) async throws -> any MTL4BinaryFunction

Parameters

  • descriptor:

    A binary function descriptor to use for creating the binary function.

  • compilerTaskOptions:

    A descriptor of the compilation itself, providing parameters that influence execution of the compilation process.

Return Value

A binary function upon success, otherwise this function throws.