getQueue

Retrieves a vertex buffer based on the specified size.

If the size is smaller than 128, a buffer from the fewQuads array is selected based on the current counter. Otherwise, the manyQuads buffer is returned.

Return

A VertexBuffer that corresponds to the specified size.

Parameters

size

The desired size of the vertex buffer.