Contents

setFunction(_:index:)

Sets an entry in the table.

Declaration

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

Parameters

  • function:

    A function handle for the intersection function.

  • index:

    The index of the table entry to change.

See Also

Setting a table entry