dispose method

dynamic dispose()

Implementation

dispose() {
  if (this.sampleRenderTarget != null) {
    this.sampleRenderTarget!.dispose();
    this.sampleRenderTarget = null;
  }
}