[]
ID2D1Factory2
[Guid("94f81a73-9212-4376-9c58-b16a3a0d3992")]
public class Factory2 : Factory1, IDisposable, IUnknown
Initializes a new instance of the Factory2 class.
public Factory2(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Creates a new instance of the Factory2 class with the specified FactoryType.
public static Factory2 Create(FactoryType factoryType)
factoryType
FactoryTypeThe factory threading type.
HRESULT ID2D1Factory2::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device1** d2dDevice1)
public Device1 CreateDevice1(Device dxgiDevice)
dxgiDevice
DevicePerforms an explicit conversion from System.IntPtr to Factory2.
public static explicit operator Factory2(IntPtr nativePointer)
nativePointer
System.IntPtr