nextBuffer property

Buffer get nextBuffer

The buffer for the next frame, created lazily and invalidated after each render call.

Implementation

Buffer get nextBuffer {
  if (_disposed) throw StateError('Renderer is disposed');
  _nextBuffer ??= Buffer(_bindings.getNextBuffer(_ptr), _bindings);
  return _nextBuffer!;
}