Contents

setFragmentVisibleFunctionTable(_:bufferIndex:)

Assigns a visible function table to an entry in the fragment shader argument table.

Declaration

func setFragmentVisibleFunctionTable(_ functionTable: (any MTLVisibleFunctionTable)?, bufferIndex: Int)

Parameters

  • functionTable:

    An Mtlvisiblefunctiontable instance the command assigns to an entry in the fragment shader argument table for visible function tables.

  • bufferIndex:

    An integer that represents the entry in the fragment 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.

See Also

Assigning visible function tables