Function TRAP::Graphics::API::VulkanInits::ImageViewCreateInfo#

Function Documentation#

VkImageViewCreateInfo TRAP::Graphics::API::VulkanInits::ImageViewCreateInfo(VkImage image, VkImageViewType imageViewType, VkFormat format, u32 levelCount, u32 layerCount)#

Create a Vulkan image view create info.

Parameters:
  • image – Vulkan image to use.

  • imageViewType – Vulkan image view type.

  • format – Vulkan image format.

  • levelCount – Number of mip levels.

  • layerCount – Number of layers.

Returns:

VkImageViewCreateInfo.