setFragmentVisibleFunctionTables:withBufferRange:
Assigns multiple visible function tables to a range of entries in the fragment shader argument table.
Declaration
- (void) setFragmentVisibleFunctionTables:(id<MTLVisibleFunctionTable> const[]) functionTables withBufferRange:(NSRange) range;Parameters
- functionTables:
A pointer to a C array of Mtlvisiblefunctiontable instances the command assigns to entries in the fragment shader argument table for visible function tables.
- range:
A span of integers that represent the entries in the fragment shader argument table for visible function tables. Each entry stores a record of the corresponding element in
functionTables.
Discussion
By default, the visible function table at each index is nil.