dispose method

void dispose ()

Implementation

void dispose() {
  if (_buffer != null && _renderingContext != null) {
    _renderingContext.deleteBuffer(_buffer);
    _renderingContext = null;
    _buffer = null;
    _contextIdentifier = -1;
  }
}