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.
Sets an entry in the table.
func setFunction(_ function: (any MTLFunctionHandle)?, index: Int)A function handle for the intersection function.
The index of the table entry to change.