@@ -141,8 +141,8 @@ class Allocated : public vkb::core::VulkanResource<bindingType, HandleType>
141141 protected:
142142 /* *
143143 * @brief The VMA-specific constructor for new objects. This should only be visible to derived classes.
144- * @tparam Args Additional constructor arguments needed for the derived class. Typically a `VkImageCreateInfo` or `VkBufferCreateInfo` struct.
145144 * @param allocation_create_info All of the non-resource-specific information needed by the VMA to allocate the memory.
145+ * @param args Additional constructor arguments needed for the derived class. Typically a `VkImageCreateInfo` or `VkBufferCreateInfo` struct.
146146 */
147147 template <typename ... Args>
148148 Allocated (const VmaAllocationCreateInfo &allocation_create_info, Args &&...args);
@@ -346,22 +346,22 @@ class Allocated : public vkb::core::VulkanResource<bindingType, HandleType>
346346 * @brief A pointer to the allocation memory, if the memory is HOST_VISIBLE and is currently (or persistently) mapped.
347347 * Contains null otherwise.
348348 */
349- uint8_t *mapped_data = nullptr ;
349+ uint8_t *mapped_data = nullptr ;
350350 /* *
351351 * @brief This flag is set to true if the memory is coherent and doesn't need to be flushed after writes.
352352 *
353353 * @note This is initialized at allocation time to avoid subsequent need to call a function to fetch the
354354 * allocation information from the VMA, since this property won't change for the lifetime of the allocation.
355355 */
356- bool coherent = false ;
356+ bool coherent = false ;
357357 /* *
358358 * @brief This flag is set to true if the memory is persistently mapped (i.e. not just HOST_VISIBLE, but available
359359 * as a pointer to the application for the lifetime of the allocation).
360360 *
361361 * @note This is initialized at allocation time to avoid subsequent need to call a function to fetch the
362362 * allocation information from the VMA, since this property won't change for the lifetime of the allocation.
363363 */
364- bool persistent = false ;
364+ bool persistent = false ;
365365};
366366
367367template <vkb::BindingType bindingType, typename HandleType>
0 commit comments