Skip to content
Snippets Groups Projects
Commit 1a2ca2d0 authored by Lars Hoerttrich's avatar Lars Hoerttrich
Browse files

[#22] Minor Correction in documentation

parent c174222a
No related branches found
No related tags found
1 merge request!18Resolve "Resource Management"
Pipeline #24751 passed
...@@ -98,10 +98,10 @@ namespace vkcv { ...@@ -98,10 +98,10 @@ namespace vkcv {
/** /**
* @brief searches memory type index for buffer allocation, inspired by vulkan tutorial and "https://github.com/KhronosGroup/Vulkan-Hpp/blob/master/samples/utils/utils.hpp" * @brief searches memory type index for buffer allocation, inspired by vulkan tutorial and "https://github.com/KhronosGroup/Vulkan-Hpp/blob/master/samples/utils/utils.hpp"
* @param memoryProperties * @param physicalMemoryProperties Memory Properties of physical device
* @param typeBits * @param typeBits
* @param requirementsMask * @param requirements Property flags that are required
* @return memory type for Buffer * @return memory type index for Buffer
*/ */
uint32_t searchMemoryType(vk::PhysicalDeviceMemoryProperties const& physicalMemoryProperties, uint32_t typeBits, vk::MemoryPropertyFlags requirements) { uint32_t searchMemoryType(vk::PhysicalDeviceMemoryProperties const& physicalMemoryProperties, uint32_t typeBits, vk::MemoryPropertyFlags requirements) {
uint32_t memoryTypeIndex = uint32_t(0); uint32_t memoryTypeIndex = uint32_t(0);
...@@ -119,8 +119,7 @@ namespace vkcv { ...@@ -119,8 +119,7 @@ namespace vkcv {
}; };
/** /**
* * Constructor of #Buffer requires a @p device, a @p physicalDevice, a @p buffer type and a @p size. * * Constructor of #Buffer requires a @p device, a @p physicalDevice, a @p buffer type and a @p size. *
*
* @param device Vulkan-Device * @param device Vulkan-Device
* @param physicalDevice Vulkan-PhysicalDevice * @param physicalDevice Vulkan-PhysicalDevice
* @param type Enum type of possible vkcv::BufferType * @param type Enum type of possible vkcv::BufferType
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment