이 페이지에서

QRhiD3D12NativeHandles Struct

QRhi 에서 사용하는 D3D12 장치를 포함합니다. 더 보기...

헤더: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
상속: QRhiNativeHandles

공개 변수

상세 설명

참고: 이 클래스는 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 가 장치를 생성할 때만 적용되며, 장치 및 장치 컨텍스트를 가져올 때는 무시됩니다.

© 2026 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.