Holds the D3D12 device used by the QRhi . 更多...
头: | #include <QRhiD3D12NativeHandles> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
继承: | QRhiNativeHandles |
qint32 | adapterLuidHigh |
quint32 | adapterLuidLow |
void * | commandQueue |
void * | dev |
int | minimumFeatureLevel |
注意:
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 *
.
注意: This is a RHI API with limited compatibility guarantees, see QRhi 了解细节。