VertexArray.resize

Resize the vertex array.

If vertexCount is greater than the current size, the previous vertices are kept and new (default-constructed) vertices are added. If vertexCount is less than the current size, existing vertices are removed from the array.

class VertexArray
void
resize

Parameters

vertexCount uint

New size of the array (number of vertices).

Meta