nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Drawing.DirectX / DxDevice

DxDevice

Full name Microsoft.VisualBasic.Drawing.DirectX.DxDevice Assembly Microsoft.VisualBasic.Drawing.DirectX Members 2

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.

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

NameOverloadsSummary
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

property Description #
Description

a short description of the current gpu device, for debug and benchmark

property Default #
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.