Contents

setVisibleFunctionTables(_:bufferRange:)

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

Declaration

func setVisibleFunctionTables(_ visibleFunctionTables: [(any MTLVisibleFunctionTable)?], bufferRange: Range<Int>)

Parameters

  • visibleFunctionTables:

    An array of Mtlvisiblefunctiontable instances to bind.

  • bufferRange:

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

Discussion

See Also

Binding function tables