QVulkanLayer Struct
代表有关 Vulkan 层的信息。更多
头文件: | #include <QVulkanLayer> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
公共变量
QByteArray | description |
QByteArray | name |
QVersionNumber | specVersion |
uint32_t | version |
相关非成员
size_t | qHash(const QVulkanLayer &key, size_t seed = 0) |
bool | operator!=(const QVulkanLayer &lhs, const QVulkanLayer &rhs) |
bool | operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs) |
成员变量文档
QByteArray QVulkanLayer::description
该变量保存图层的描述。
QByteArray QVulkanLayer::name
该变量用于保存图层的名称。
QVersionNumber QVulkanLayer::specVersion
该变量用于保存编写该层所依据的 Vulkan 版本。
uint32_t QVulkanLayer::version
该变量用于保存层的版本。它是一个整数,随着每次向后兼容变化而增加。
相关非成员
[noexcept]
size_t qHash(const QVulkanLayer &key, size_t seed = 0)
返回key 的哈希值,使用seed 作为计算的种子。
[noexcept]
bool operator!=(const QVulkanLayer &lhs, const QVulkanLayer &rhs)
如果 Vulkan 层lhs 和rhs 的名称、版本或规范版本不同,则返回true
。
[noexcept]
bool operator==(const QVulkanLayer &lhs, const QVulkanLayer &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.