本页内容

QRhiInitParams Struct

后端专用初始化参数的基类。更多...

头文件: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
自: Qt 6.6
被继承于:

QRhiD3D11InitParams、QRhiD3D12InitParams 、QRhiGles2InitParams 、QRhiMetalInitParams 、QRhiNullInitParams ,以及QRhiVulkanInitParams

详细说明

包含与所有后端相关的字段。

注意:这是一个 RHI API,其兼容性保证有限,详情请参阅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.