Contents

computeFunctionDescriptor

A descriptor representing the compute pipeline’s function.

Declaration

@NSCopying var computeFunctionDescriptor: MTL4FunctionDescriptor? { get set }

Discussion

You don’t assign instances of MTL4FunctionDescriptor to this property directly, instead assign an instance of one of its subclasses, such as MTL4LibraryFunctionDescriptor, which represents a function from a Metal library.