kernels(withMetalString:)
Load kernels from a Metal language string.
Declaration
class func kernels(withMetalString source: String) throws -> [CIKernel]Parameters
- source:
A string containing the progam in Metal language.
Return Value
An array of CIKernel objects.