public void Shutdown() { if (_backbuffer != null) { _backbuffer.Dispose(); _backbuffer = null; } _device.Dispose(); }
public virtual void DisposeSizeDependent() { if (_renderTarget != null) { _renderTarget.Dispose(); _renderTarget = null; } }