QVulkanExtension Struct

Represents information about a Vulkan extension. More...

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

Public Variables

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)

Detailed Description

Member Variable Documentation

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.

Related Non-Members

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

Returns the hash value for the key, using seed to seed the calculation.

This function was introduced in Qt 5.10.

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

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

This function was introduced in Qt 5.10.

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

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

This function was introduced in Qt 5.10.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qvulkanextension.html