Contents

bytesPerIndex

The number of bytes that represent each index value in the element’s data.

Declaration

var bytesPerIndex: Int { get }

Discussion

An element’s data property holds an array of index values identifying vertices in a geometry source. SceneKit interprets the data as an array of unsigned integers, whose size is specified by the bytesPerIndex property.

See Also

Working with Indexes