reset method

void reset()

Resets the bump allocator to the beginning of the first DeviceBuffer block.

Implementation

void reset() {
  _frameCursor = (_frameCursor + 1) % frameCount;
  _bufferCursor = 0;
  _offsetCursor = 0;
}