/// <summary> /// デバイスを破棄します. /// </summary> public override void Dispose() { d2dFactory.Dispose(); dwFactory.Dispose(); customBlendState.Dispose(); base.Dispose(); }
/// <summary> /// Disposes of all devices and factories of this description. /// </summary> public void DisposeAll() { D3DDevice10.Dispose(); WriteFactory.Dispose(); D2DFactory.Dispose(); }