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
visibleFunctionTablesto, in the order they appear.