diff --git a/src/Magnum/Vk/Device.h b/src/Magnum/Vk/Device.h index a35af001b..faa3be0ed 100644 --- a/src/Magnum/Vk/Device.h +++ b/src/Magnum/Vk/Device.h @@ -82,7 +82,8 @@ As with device picking, you can also iterate through all @ref DeviceProperties::queueFamilyCount() and choose one manually. Same as with @ref Instance, the above won't enable any additional extensions -except for what the engine itself needs or what's supplied on the command line. Use @ref DeviceCreateInfo::addEnabledExtensions() to enable them, you can use +except for what the engine itself needs or what's supplied on the command line. +Use @ref DeviceCreateInfo::addEnabledExtensions() to enable them, you can use both string names as well as predefined *device* extensions from the @ref Extensions namespace. Later on, presence of predefined extensions can be checked with @ref isExtensionEnabled(). @@ -150,9 +151,9 @@ class MAGNUM_VK_EXPORT Device { * @param instance Vulkan instance the device is created on * @param handle The @type_vk{Device} handle * @param version Vulkan version that's assumed to be used on the - * instance + * device * @param enabledExtensions Extensions that are assumed to be enabled - * on the instance + * on the device * @param flags Handle flags * * The @p handle is expected to be originating from @p instance. The @@ -197,8 +198,8 @@ class MAGNUM_VK_EXPORT Device { * * Compared to @ref Device(Instance&, const DeviceCreateInfo&), it can * take ownership of the @ref DeviceProperties added to @p info earlier - * via @ref DeviceCreateInfo::DeviceCreateInfo(DeviceProperties&&, const ExtensionProperties*, Flags) or any of the other r-value-taking - * constructors. + * via @ref DeviceCreateInfo::DeviceCreateInfo(DeviceProperties&&, const ExtensionProperties*, Flags) + * or any of the other r-value-taking constructors. * * With that, the @ref properties() getter and any APIs relying on it * can reuse what was possibly already queried without having to repeat diff --git a/src/Magnum/Vk/ExtensionProperties.h b/src/Magnum/Vk/ExtensionProperties.h index 99aaaf8fc..fc3db1420 100644 --- a/src/Magnum/Vk/ExtensionProperties.h +++ b/src/Magnum/Vk/ExtensionProperties.h @@ -106,7 +106,8 @@ class MAGNUM_VK_EXPORT ExtensionProperties { * Search complexity is @f$ \mathcal{O}(\log n) @f$ in the total * extension count; in contrast extension queries on a created instance * are @f$ \mathcal{O}(1) @f$. - * @see @ref revision() + * @see @ref revision(), @ref Instance::isExtensionEnabled(), + * @ref Device::isExtensionEnabled() */ bool isSupported(Containers::StringView extension) const;