Class D2DTargetProxy
- Namespace
- HelixToolkit.SharpDX.Core2D
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class D2DTargetProxy : DisposeObject, IDisposable
- Inheritance
-
D2DTargetProxy
- Implements
- Inherited Members
Properties
D2DTarget
Gets the d2d target. Which is bind to the 3D back buffer/texture
public BitmapProxy? D2DTarget { get; }
Property Value
- BitmapProxy
The d2d target.
Methods
Initialize(SwapChain1, DeviceContext?)
public void Initialize(SwapChain1 swapChain, DeviceContext? deviceContext)
Parameters
swapChainSwapChain1deviceContextDeviceContext
Initialize(Texture2D, DeviceContext?)
public void Initialize(Texture2D texture, DeviceContext? deviceContext)
Parameters
textureTexture2DdeviceContextDeviceContext
OnDispose(bool)
Disposes of object resources.
protected override void OnDispose(bool disposeManagedResources)
Parameters
disposeManagedResourcesboolIf true, managed resources should be disposed of in addition to unmanaged resources.
Operators
implicit operator Bitmap1?(D2DTargetProxy)
Performs an implicit conversion from D2DTargetProxy to SharpDX.Direct2D1.Bitmap1.
public static implicit operator Bitmap1?(D2DTargetProxy proxy)
Parameters
proxyD2DTargetProxyThe proxy.
Returns
- Bitmap1
The result of the conversion.