Holds the D3D12 device used by the QRhi. More...
| Header: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Inherits: | QRhiNativeHandles |
| qint32 | adapterLuidHigh |
| quint32 | adapterLuidLow |
| void * | commandQueue |
| void * | dev |
| int | minimumFeatureLevel |
Note: The class uses void * as the type since including the COM-based d3d12.h headers is not acceptable here. The actual types are ID3D12Device * and ID3D12CommandQueue *.
Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.
The high part of the local identifier (LUID) of the DXGI adapter to use. Relevant only when QRhi creates the device, ignored when importing a device and device context.
The low part of the local identifier (LUID) of the DXGI adapter to use. Relevant only when QRhi creates the device, ignored when importing a device and device context.
When set, must point to a ID3D12CommandQueue. It allows to optionally import a command queue as well, in addition to a device.
Points to a ID3D12Device or left set to nullptr if no existing device is to be imported.
Specifies the minimum feature level passed to D3D12CreateDevice(). When not set, D3D_FEATURE_LEVEL_11_0 is used. See this page for details.
Relevant only when QRhi creates the device, ignored when importing a device and device context.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: