Function TRAP::Graphics::API::VulkanInits::BufferCreateInfo#

Function Documentation#

VkBufferCreateInfo TRAP::Graphics::API::VulkanInits::BufferCreateInfo(u64 allocationSize, VkBufferUsageFlags usageFlags)#

Create a Vulkan buffer create info.

Parameters:
  • allocationSize – Size of the buffer.

  • usageFlags – Vulkan buffer usage flags.

Returns:

VkBufferCreateInfo.