Instance Property

vertexFunction

A programmable function that processes individual vertices in a rendering pass.

Declaration

var vertexFunction: MTLFunction? { get set }

Discussion

The default value is nil. The vertex function must always be specified. The vertex function can be either a regular vertex function or a post-tessellation vertex function.

See Also

Specifying Graphics Functions and Associated Data

var fragmentFunction: MTLFunction?

A programmable function that processes individual fragments in a rendering pass.

var vertexDescriptor: MTLVertexDescriptor?

The organization of vertex data in an attribute’s argument table.

var vertexBuffers: MTLPipelineBufferDescriptorArray

An array that contains the buffer mutability options for a render pipeline's vertex function.

var fragmentBuffers: MTLPipelineBufferDescriptorArray

An array that contains the buffer mutability options for a render pipeline's fragment function.

class MTLPipelineBufferDescriptor

An object that contains the mutability options for buffers used in a render or compute pass.