Contents

setIntersectionFunctionTables(_:bufferRange:)

Binds multiple intersection function tables to the buffer argument table, allowing you to call their functions on the GPU.

Declaration

func setIntersectionFunctionTables(_ intersectionFunctionTables: [(any MTLIntersectionFunctionTable)?], bufferRange: Range<Int>)

Parameters

  • intersectionFunctionTables:

    An array of Mtlintersectionfunctiontable instances to bind.

  • bufferRange:

    The argument buffer table indices to bind each of the intersectionFunctionTables to, in the order they appear.

Discussion

See Also

Binding function tables