[]
ID2D1Device1
[Guid("d21768e1-23a4-4823-a14b-7c3eba85d658")]
public class Device1 : Device, IDisposable, IUnknown
Initializes a new instance of the Device1 class.
public Device1(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the Device1 class.
public static Device1 Create(Factory2 factory, Device device)
HRESULT ID2D1Device1::CreateDeviceContext([In] D2D1_DEVICE_CONTEXT_OPTIONS options,[Out, Fast] ID2D1DeviceContext1** deviceContext1)
public DeviceContext1 CreateDeviceContext1(DeviceContextOptions options)
options
DeviceContextOptionsD2D1_RENDERING_PRIORITY ID2D1Device1::GetRenderingPriority()
public RenderingPriority GetRenderingPriority()
void ID2D1Device1::SetRenderingPriority([In] D2D1_RENDERING_PRIORITY renderingPriority)
public void SetRenderingPriority(RenderingPriority renderingPriority)
renderingPriority
RenderingPriorityPerforms an explicit conversion from System.IntPtr to Device1.
public static explicit operator Device1(IntPtr nativePointer)
nativePointer
System.IntPtr