Contents

setFunction(_:index:)

Sets a table entry to point to a callable function.

Declaration

func setFunction(_ function: (any MTLFunctionHandle)?, index: Int)

Parameters

  • function:

    A function handle for the function to be called.

  • index:

    The index of the table entry to change.

See Also

Setting a table entry