Table of Contents

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

swapChain SwapChain1
deviceContext DeviceContext

Initialize(Texture2D, DeviceContext?)

public void Initialize(Texture2D texture, DeviceContext? deviceContext)

Parameters

texture Texture2D
deviceContext DeviceContext

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If 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

proxy D2DTargetProxy

The proxy.

Returns

Bitmap1

The result of the conversion.