Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposeManagedResources"></param>
 protected override void OnDispose(bool disposeManagedResources)
 {
     if (deviceContext != null && !deviceContext.IsDisposed)
     {
         deviceContext.ClearState();
         deviceContext.OutputMerger.ResetTargets();
     }
     base.OnDispose(disposeManagedResources);
 }
Exemplo n.º 2
0
 public void ClearState()
 {
     deviceContext.ClearState();
     Reset();
 }