The gpu device wrapper of the directx engine: a d3d11 device with the BGRA support flag, its immediate context, the direct2d factory and the directwrite factory.
DxDevice
00 Remarks
The device object is an expensive resource, so it is shared inside the current process: every DxGraphics canvas just creates its own off-screen render target on top of the shared device.
All of the native api here is imported via p/invoke, this module is 100% pure managed code.
01 Syntax
Microsoft.VisualBasic.Drawing.DirectX.DxDevice
02 Properties
| Name | Overloads | Summary |
|---|---|---|
| Description | 1 | a short description of the current gpu device, for debug and benchmark |
| Default | 1 | get the process wide shared directx device, the hardware driver is preferred and the WARP software rasterizer is used as the fallback when there is no gpu device available. |
03 Members
Description
a short description of the current gpu device, for debug and benchmark
Default
get the process wide shared directx device, the hardware driver is preferred and the WARP software rasterizer is used as the fallback when there is no gpu device available.