positions

Specifies the vertex positions. Stride is the byte offset between consecutive positions.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of position vectors, each with 3 floats.

stride

Byte offset between consecutive positions. 0 means tightly packed.