functionHandle(function:)
Creates a function handle for a visible function.
Declaration
func functionHandle(function: any MTLFunction) -> (any MTLFunctionHandle)?Parameters
- function:
An Mtlfunction instance that represents the visible function to create a handle for.
Return Value
A handle to the visible function. When this value is nil, an error occurred during handle creation.