QRhiNullInitParams Struct

백엔드 특정 초기화 매개변수가 널입니다. 더 보기...

헤더: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
이후: Qt 6.6
상속합니다: QRhiInitParams

상세 설명

참고: 이것은 호환성이 제한적으로 보장되는 RHI API입니다. 자세한 내용은 QRhi 을 참조하세요.

Null QRhi 은 초기화를 위해 특별한 매개변수가 필요하지 않습니다.

QRhiNullInitParams params;
rhi = QRhi::create(QRhi::Null, &params);

Null 백엔드는 그래픽 호출을 발행하지 않으며 리소스를 생성하지 않습니다. 모든 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.