private void SetElementBackbuffer()
 {
     RemoveAndDispose(ref image);
     image = ToDispose(new D3D11Image(d3d9.Value.Instance.Device, presenter.BackBuffer));
     element.SetBackbufferImage(image);
 }
Beispiel #2
0
 /// <summary>
 /// Associates an <see cref="D3D11Image"/> with the current instance.
 /// </summary>
 /// <param name="image">A valid <see cref="D3D11Image"/>.</param>
 internal void SetBackbufferImage(D3D11Image image)
 {
     this.image = image;
     this.InvalidateVisual();
 }
Beispiel #3
0
 /// <summary>
 /// Associates an <see cref="D3D11Image"/> with the current instance.
 /// </summary>
 /// <param name="image">A valid <see cref="D3D11Image"/>.</param>
 internal void SetBackbufferImage(D3D11Image image)
 {
     this.image = image;
     this.InvalidateVisual();
 }