本页内容

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 `。

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