element()
Provides a description of the underlying type when an array holds other arrays as its elements.
Declaration
func element() -> MTLArrayType?Return Value
Returns an object that describes an array. If the array elements aren’t arrays, this method returns nil.
Discussion
Use this method if elementType is MTLDataType.array.