functionHandle(function:)
Get the function handle for the specified binary-linked function from the pipeline state.
Declaration
func functionHandle(function: any MTL4BinaryFunction) -> (any MTLFunctionHandle)?Parameters
- function:
A Mtl4binaryfunction instance representing the function binary.
Return Value
A MTLFunctionHandle instance for a binary function that was compiled with MTLFunctionOptionPipelineIndependent, otherwise nil.