示例#1
0
        public void Shutdown()
        {
            if (_backbuffer != null)
            {
                _backbuffer.Dispose();
                _backbuffer = null;
            }

            _device.Dispose();
        }
示例#2
0
 public virtual void DisposeSizeDependent()
 {
     if (_renderTarget != null)
     {
         _renderTarget.Dispose();
         _renderTarget = null;
     }
 }