From d958d73df6d5ba78b9f46a08b292e8643c771a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 16 Aug 2022 16:08:48 +0200 Subject: [PATCH] Vk: add TODOs for when Containers::Iterable is a thing. --- src/Magnum/Vk/DeviceCreateInfo.h | 3 +++ src/Magnum/Vk/FramebufferCreateInfo.h | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/Magnum/Vk/DeviceCreateInfo.h b/src/Magnum/Vk/DeviceCreateInfo.h index e7a1fd9b9..c451c1030 100644 --- a/src/Magnum/Vk/DeviceCreateInfo.h +++ b/src/Magnum/Vk/DeviceCreateInfo.h @@ -320,6 +320,9 @@ class MAGNUM_VK_EXPORT DeviceCreateInfo { * @see @ref DeviceProperties::pickQueueFamily() * @todoc link to addQueues(QueueFlags) once doxygen finally GROWS UP * and can link to &-qualified functions FFS + * @todo switch to Iterable once Iterable supports references + * so people can pass a whole array of queues without having to + * build a temporary list of references */ DeviceCreateInfo& addQueues(UnsignedInt family, Containers::ArrayView priorities, Containers::ArrayView> output) &; /** @overload */ diff --git a/src/Magnum/Vk/FramebufferCreateInfo.h b/src/Magnum/Vk/FramebufferCreateInfo.h index 4b0ee3a9f..033b15fa8 100644 --- a/src/Magnum/Vk/FramebufferCreateInfo.h +++ b/src/Magnum/Vk/FramebufferCreateInfo.h @@ -94,6 +94,10 @@ class MAGNUM_VK_EXPORT FramebufferCreateInfo { * - `attachmentCount` and `pAttachments` to a copy of * @p attachments * - `width`, `height` and `layers` to @p size + * + * @todo switch to Iterable once Iterable supports + * references so people can pass a whole array of images without + * having to build a temporary list of references */ explicit FramebufferCreateInfo(VkRenderPass renderPass, Containers::ArrayView> attachments, const Vector3i& size, Flags flags = {});