示例#1
0
 private void SetElementBackbuffer()
 {
     RemoveAndDispose(ref image);
     image = ToDispose(new D3D11Image(d3d9.Value.Instance.Device, presenter.BackBuffer));
     element.SetBackbufferImage(image);
 }
示例#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();
 }
示例#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();
 }