Contents

kernelNames(fromMetalLibraryData:)

Return an array of strings containing the names of all of the kernels contained in the Metal library.

Declaration

class func kernelNames(fromMetalLibraryData data: Data) -> [String]

Parameters

  • data:

    Contents of the Metal library.

Return Value

An Array of strings containing the names of the kernels.

See Also

Creating a Kernel Using Metal Shading Language