コード例 #1
0
        /// <summary>
        ///     デバイスを破棄します.
        /// </summary>
        public override void Dispose()
        {
            d2dFactory.Dispose();
            dwFactory.Dispose();
            customBlendState.Dispose();

            base.Dispose();
        }
コード例 #2
0
 /// <summary>
 /// Disposes of all devices and factories of this description.
 /// </summary>
 public void DisposeAll()
 {
     D3DDevice10.Dispose();
     WriteFactory.Dispose();
     D2DFactory.Dispose();
 }