Contents

groups

Assigns groups of functions to match call-site attributes in shader code.

Declaration

var groups: [String : [MTL4FunctionDescriptor]]? { get set }

Discussion

Function groups help the compiler reduce the number of candidate functions it needs to evaluate for shader function calls, potentially increasing runtime performance.