makeBinaryFunction(descriptor:compilerTaskOptions:)
Creates a new binary visible or intersection function synchronously.
Declaration
func makeBinaryFunction(descriptor: MTL4BinaryFunctionDescriptor, compilerTaskOptions: MTL4CompilerTaskOptions? = nil) throws -> any MTL4BinaryFunctionParameters
- 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.