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 ) |
This variable holds the name of the extension.
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 引入。