function

A MTLFunction that you can link into your shader

Declaration

var function: (any MTLFunction)? { get }