class new in Git master
#include <Magnum/Vk/Extensions.h>
Extension Run-time information about a Vulkan device extension.
Encapsulates runtime information about a Vulkan extension, such as name string, minimal required Vulkan version and version in which the extension was adopted to core.
See also the Extensions namespace, which contain compile-time information about Vulkan extensions.
Public static functions
-
static auto extensions(Version version) -> Containers::
ArrayView<const Extension> - All known device extensions for given Vulkan version.
Constructors, destructors, conversion operators
-
template<class E, class = typename std::Extension(const E&) constexpr
enable_if<Implementation::IsExtension<E>::value>::type> - Construct from a compile-time device extension.
Public functions
-
auto index() const -> std::
size_t constexpr - Internal unique extension index.
- auto requiredVersion() const -> Version constexpr
- Minimal version required by this extension.
- auto coreVersion() const -> Version constexpr
- Version in which this extension was adopted to core.
-
auto string() const -> Containers::
StringView constexpr - Extension string.