Contents

addFunction(descriptor:library:)

Adds a description of a function to the archive.

Declaration

func addFunction(descriptor: MTLFunctionDescriptor, library: any MTLLibrary) throws

Parameters

  • descriptor:

  • library:

See Also

Adding pipeline descriptors