setVisibleFunctionTable(_:bufferIndex:)
Binds a visible function table to the buffer argument table, allowing you to call its functions on the GPU.
Declaration
func setVisibleFunctionTable(_ visibleFunctionTable: (any MTLVisibleFunctionTable)?, bufferIndex: Int)Parameters
- visibleFunctionTable:
The Mtlvisiblefunctiontable to bind.
- bufferIndex:
The index the function table binds to in the buffer argument table.