Function TRAP::Graphics::API::VulkanInits::MemoryAllocateInfo#

Function Documentation#

constexpr VkMemoryAllocateInfo TRAP::Graphics::API::VulkanInits::MemoryAllocateInfo(VkDeviceSize allocSize, u32 memoryTypeIndex) noexcept#

Create a Vulkan memory allocate info.

Parameters:
  • allocSize – Size of the allocation in bytes.

  • memoryTypeIndex – Index of the memory type to allocate.

Returns:

VkMemoryAllocateInfo.