Function TRAP::Graphics::API::VulkanInits::ImageCreateInfo#

Function Documentation#

VkImageCreateInfo TRAP::Graphics::API::VulkanInits::ImageCreateInfo(VkImageType imageType, VkFormat imageFormat, u32 width, u32 height, u32 depth, u32 mipLevels, u32 arrayLayers, VkSampleCountFlagBits sampleCount, VkImageTiling tiling, VkImageUsageFlags usage)#

Create a Vulkan image create info.

Parameters:
  • imageType – Vulkan image type.

  • imageFormat – Vulkan image format.

  • width – Width of the image.

  • height – Height of the image.

  • depth – Depth of the image.

  • mipLevels – Number of mip levels.

  • arrayLayers – Number of array layers.

  • sampleCount – Vulkan sample count.

  • tiling – Vulkan image tiling.

  • usage – Vulkan image usage.

Returns:

VkImageCreateInfo.