functionHandle(function:)
Returns the handle for a binary function from a pipeline state.
Declaration
func functionHandle(function: any MTL4BinaryFunction) -> (any MTLFunctionHandle)?Parameters
- function:
A function that the Metal compiler created with the Pipelineindependent setting.
Return Value
A function handle if the method succeeds, otherwise nil.