QVulkanExtension Struct
代表有关 Vulkan 扩展的信息。更多
头文件: | #include <QVulkanExtension> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
公共变量
相关非成员
size_t | qHash(const QVulkanExtension &key, size_t seed = 0) |
bool | operator!=(const QVulkanExtension &lhs, const QVulkanExtension &rhs) |
bool | operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs) |
成员变量文档
QByteArray QVulkanExtension::name
该变量包含扩展名的名称。
uint32_t QVulkanExtension::version
该变量表示扩展的版本。这是一个整数,随着每次向后兼容的变更而增加。
相关非成员
[noexcept]
size_t qHash(const QVulkanExtension &key, size_t seed = 0)
返回key 的哈希值,使用seed 作为计算的种子。
[noexcept]
bool operator!=(const QVulkanExtension &lhs, const QVulkanExtension &rhs)
如果 Vulkan 扩展名lhs 和rhs 的名称或版本不同,则返回true
。
[noexcept]
bool operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs)
如果 Vulkan 扩展名lhs 和rhs 的名称和版本相同,则返回true
。
© 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.