Contents

vertexBuffer

Associates a vertex buffer containing triangle vertices.

Declaration

var vertexBuffer: MTL4BufferRange { get set }

Discussion

You are responsible for ensuring that the format of all vertex positions match the vertexFormat property, and that the buffer address for the buffer range is not zero.