setVertexVisibleFunctionTable(_:bufferIndex:)
Assigns a visible function table to an entry in the vertex shader argument table.
Declaration
func setVertexVisibleFunctionTable(_ functionTable: (any MTLVisibleFunctionTable)?, bufferIndex: Int)Parameters
- functionTable:
An Mtlvisiblefunctiontable instance the command assigns to an entry in the vertex shader argument table for visible function tables.
- bufferIndex:
An integer that represents the entry in the vertex shader argument table for visible function tables that stores a record of
functionTable.
Discussion
By default, the visible function table at each index is nil.