Instance Property

length

The logical size of the Metal buffer, in bytes.

Declaration

var length: Int { get }

See Also

Metal Buffer Properties

var buffer: MTLBuffer

The Metal buffer backing all vertex and index data.

var offset: Int

The byte offset of the data within the Metal buffer.