Contents

setVertexIntersectionFunctionTables(_:bufferRange:)

Assigns multiple intersection function tables to a range of entries in the vertex shader argument table.

Declaration

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

Parameters

  • functionTables:

    An array of Mtlintersectionfunctiontable instances the command assigns to entries in the vertex shader argument table for intersection function tables.

  • bufferRange:

    A span of integers that represent the entries in the vertex shader argument table for intersection function tables. Each entry stores a record of the corresponding element in functionTables.

Discussion

By default, the intersection function table at each index is nil.

See Also

Assigning intersection function tables