QRhiD3D12NativeHandles Struct
QRhi...에서 사용하는 D3D12 장치를 보관합니다.. ..
헤더: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
상속합니다: | QRhiNativeHandles |
공용 변수
qint32 | adapterLuidHigh |
quint32 | adapterLuidLow |
void * | commandQueue |
void * | dev |
int | minimumFeatureLevel |
상세 설명
참고: 이 클래스에서는 COM 기반 d3d12.h
헤더를 포함하는 것은 허용되지 않으므로 void *
를 유형으로 사용합니다. 실제 유형은 ID3D12Device *
및 ID3D12CommandQueue *
입니다.
참고: 이것은 호환성이 제한적으로 보장되는 RHI API이며, 자세한 내용은 QRhi 을 참조하세요.
멤버 변수 문서
qint32 QRhiD3D12NativeHandles::adapterLuidHigh
사용할 DXGI 어댑터의 로컬 식별자(LUID)의 상위 부분입니다. QRhi 에서 장치를 만들 때만 관련되며, 장치 및 장치 컨텍스트를 가져올 때는 무시됩니다.
quint32 QRhiD3D12NativeHandles::adapterLuidLow
사용할 DXGI 어댑터의 로컬 식별자(LUID)의 하단 부분입니다. QRhi 에서 장치를 만들 때만 관련되며, 장치 및 장치 컨텍스트를 가져올 때는 무시됩니다.
void *QRhiD3D12NativeHandles::commandQueue
설정 시 ID3D12CommandQueue를 가리켜야 합니다. 선택적으로 장치 외에 명령 대기열도 가져올 수 있습니다.
void *QRhiD3D12NativeHandles::dev
ID3D12Device를 가리키거나 기존 장치를 가져오지 않을 경우 nullptr
로 설정합니다.
int QRhiD3D12NativeHandles::minimumFeatureLevel
D3D12CreateDevice()에 전달되는 최소 피처 레벨을 지정합니다. 설정하지 않으면 D3D_FEATURE_LEVEL_11_0
이 사용됩니다. 자세한 내용은 이 페이지를 참조하십시오.
QRhi 에서 디바이스를 생성할 때만 관련되며, 디바이스 및 디바이스 컨텍스트를 임포트할 때는 무시됩니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.