Subscript

subscript(_:)

Returns the state of the specified vertex attribute.

Declaration

subscript(index: Int) -> MTLVertexAttributeDescriptor! { get set }

Parameters

index
  • A specified index in the array of vertex attribute states.

Return Value

A descriptor that contains the vertex attribute state.