vertexFunction
The vertex function the pipeline calls to process vertices.
Declaration
var vertexFunction: (any MTLFunction)? { get set }Discussion
The default value is nil. The vertex function needs to be specified. The vertex function can be either a regular vertex function or a post-tessellation vertex function.