Contents

setFragmentIntersectionFunctionTables:withBufferRange:

Assigns multiple intersection function tables to a range of entries in the fragment shader argument table.

Declaration

- (void) setFragmentIntersectionFunctionTables:(id<MTLIntersectionFunctionTable> const[]) intersectionFunctionTables withBufferRange:(NSRange) range;

Parameters

  • intersectionFunctionTables:

    A pointer to a C array of Mtlintersectionfunctiontable instances the command assigns to entries in the fragment shader argument table for intersection function tables.

  • range:

    A span of integers that represent the entries in the fragment shader argument table for intersection function tables. Each entry stores a record of the corresponding element in intersectionFunctionTables.

Discussion

By default, the intersection function table at each index is nil.

See Also

Assigning intersection function tables