setVisibleFunctionTable(_:index:)
Encodes a reference to a visible-function table into the argument buffer.
Declaration
func setVisibleFunctionTable(_ visibleFunctionTable: (any MTLVisibleFunctionTable)?, index: Int)Parameters
- visibleFunctionTable:
A visible-function table the method encodes.
- index:
The index of a visible-function table within the argument buffer. The value corresponds to either the index ID of a declaration in Metal Shading Language (MSL) or the Index property of an Mtlargumentdescriptor instance.