reset method
Resets the bump allocator to the beginning of the first DeviceBuffer block.
Implementation
void reset() {
_frameCursor = (_frameCursor + 1) % frameCount;
_bufferCursor = 0;
_offsetCursor = 0;
}
Resets the bump allocator to the beginning of the first DeviceBuffer block.
void reset() {
_frameCursor = (_frameCursor + 1) % frameCount;
_bufferCursor = 0;
_offsetCursor = 0;
}