QVulkanExtension Struct

Represents information about a Vulkan extension. 更多...

头: #include <QVulkanExtension>
CMake: find_package(Qt6 COMPONENTS Gui REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

公共变量

QByteArray name
uint32_t version
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

This variable holds the name of the extension.

uint32_t QVulkanExtension:: version

This variable holds the version of the extension. This is an integer, increasing with each backward compatible change.

相关非成员

[since 5.10] size_t qHash (const QVulkanExtension & key , size_t seed = 0)

返回哈希值为 key ,使用 seed 做计算种子。

该函数在 Qt 5.10 引入。

[since 5.10] bool operator!= (const QVulkanExtension & lhs , const QVulkanExtension & rhs )

返回 true if Vulkan extensions lhs and rhs are have different name or version.

该函数在 Qt 5.10 引入。

[since 5.10] bool operator== (const QVulkanExtension & lhs , const QVulkanExtension & rhs )

返回 true if Vulkan extensions lhs and rhs are have the same name and version.

该函数在 Qt 5.10 引入。