Browse Source

Vk: add TODOs for when Containers::Iterable<T&> is a thing.

pull/592/head
Vladimír Vondruš 4 years ago
parent
commit
d958d73df6
  1. 3
      src/Magnum/Vk/DeviceCreateInfo.h
  2. 4
      src/Magnum/Vk/FramebufferCreateInfo.h

3
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<Queue&> 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<const Float> priorities, Containers::ArrayView<const Containers::Reference<Queue>> output) &;
/** @overload */

4
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<ImageView&> 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<const Containers::Reference<ImageView>> attachments, const Vector3i& size, Flags flags = {});

Loading…
Cancel
Save