Function TRAP::Graphics::API::VulkanInits::BufferViewCreateInfo#

Function Documentation#

VkBufferViewCreateInfo TRAP::Graphics::API::VulkanInits::BufferViewCreateInfo(VkBuffer buffer, VkFormat format, u64 offset, u64 range)#

Create a Vulkan buffer view create info.

Parameters:
  • buffer – Vulkan buffer to use.

  • format – Vulkan buffer format.

  • offset – Offset of the buffer.

  • range – Range of the buffer.

Returns:

VkBufferViewCreateInfo.