Instance Property

vertexDescriptor

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

Declaration

@NSCopying var vertexDescriptor: MTLVertexDescriptor? { get set }

Discussion

A MTLVertexDescriptor object is used to describe the organization of per-vertex input structs passed in an argument of a vertex shader function.

See Also

Specifying Graphics Functions and Associated Data

var vertexFunction: MTLFunction?

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

var fragmentFunction: MTLFunction?

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

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.