Instance Property


The Metal buffer backing all vertex and index data.


var buffer: MTLBuffer { get }


Many MTKMeshBuffer objects may reference the same MTLBuffer object, in which case each MTKMeshBuffer object will have its own unique offset value.

See Also

Metal Buffer Properties

var length: Int

The logical size of the Metal buffer, in bytes.

var offset: Int

The byte offset of the data within the Metal buffer.