From d7d4cd72234ee8d107d958944207c6fcc9707787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 7 Mar 2021 22:07:24 +0100 Subject: [PATCH] Vk: doc++ --- doc/snippets/MagnumVk.cpp | 2 +- doc/vulkan-mapping.dox | 6 ++++-- src/Magnum/Vk/Mesh.h | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/snippets/MagnumVk.cpp b/doc/snippets/MagnumVk.cpp index 414ad47f5..9c419c424 100644 --- a/doc/snippets/MagnumVk.cpp +++ b/doc/snippets/MagnumVk.cpp @@ -1032,7 +1032,7 @@ cmd.begin() } { -Vk::Device device{DOXYGEN_IGNORE(NoCreate)}; +Vk::Device device{NoCreate}; /* The include should be a no-op here since it was already included above */ /* [Shader-creation] */ #include diff --git a/doc/vulkan-mapping.dox b/doc/vulkan-mapping.dox index 43d5db142..f0000896e 100644 --- a/doc/vulkan-mapping.dox +++ b/doc/vulkan-mapping.dox @@ -64,11 +64,13 @@ Vulkan handle | Matching API @type_vk{DescriptorUpdateTemplate} @m_class{m-label m-flat m-success} **KHR, 1.1** | | @type_vk{Device} | @ref Device @type_vk{DeviceMemory} | @ref Memory +@type_vk{Event} | | @type_vk{Fence} | @ref Fence @type_vk{Framebuffer} | @ref Framebuffer @type_vk{Image} | @ref Image @type_vk{ImageView} | @ref ImageView @type_vk{Instance} | @ref Instance +@type_vk{PipelineCache} | | @type_vk{PhysicalDevice} | @ref DeviceProperties @type_vk{Pipeline} | @ref Pipeline @type_vk{PipelineLayout} | @ref PipelineLayout @@ -830,7 +832,7 @@ Vulkan enum | Matching API @type_vk{DescriptorUpdateTemplateType} @m_class{m-label m-flat m-success} **KHR, 1.1** | | @type_vk{DescriptorType} | | @type_vk{DeviceQueueCreateFlagBits}, \n @type_vk{DeviceQueueCreateFlags} | | -@type_vk{DriverId} @m_class{m-label m-flat m-success} **KHR, 1.2** | | +@type_vk{DriverId} @m_class{m-label m-flat m-success} **KHR, 1.2** | @ref DeviceDriver @type_vk{DynamicState} | @ref DynamicRasterizationState @subsection vulkan-mapping-enums-e E @@ -968,7 +970,7 @@ Vulkan enum | Matching API @type_vk{SemaphoreWaitFlagBits} @m_class{m-label m-flat m-success} **KHR, 1.2**, \n @type_vk{SemaphoreWaitFlags} @m_class{m-label m-flat m-success} **KHR, 1.2** | | @type_vk{ShaderFloatControlsIndependence} @m_class{m-label m-flat m-success} **KHR, 1.2** | | @type_vk{ShaderGroupShaderKHR} @m_class{m-label m-flat m-warning} **KHR** | | -@type_vk{ShaderModuleCreateFlagBits}, \n @type_vk{ShaderModuleCreateFlags} | @ref ShaderCreateInfo::Flags +@type_vk{ShaderModuleCreateFlagBits}, \n @type_vk{ShaderModuleCreateFlags} | @ref ShaderCreateInfo::Flag, \n @ref ShaderCreateInfo::Flags @type_vk{ShaderStageFlagBits}, \n @type_vk{ShaderStageFlags} | @ref ShaderStage @type_vk{SharingMode} | | @type_vk{SparseImageFormatFlagBits}, \n @type_vk{SparseImageFormatFlags} | | diff --git a/src/Magnum/Vk/Mesh.h b/src/Magnum/Vk/Mesh.h index 2ce1a7829..e1e3a30e9 100644 --- a/src/Magnum/Vk/Mesh.h +++ b/src/Magnum/Vk/Mesh.h @@ -41,6 +41,8 @@ namespace Magnum { namespace Vk { @m_since_latest Wraps a @type_vk_keyword{IndexType}. +@see @ref Magnum::MeshIndexType, @ref meshIndexType(), + @ref Mesh::setIndexBuffer() */ enum class MeshIndexType: Int { /**