1 #include "texture2darray_backend.h"
7 VulkanTexture2DArray::VulkanTexture2DArray():
8 Texture3D(VK_IMAGE_VIEW_TYPE_2D_ARRAY)
11 void VulkanTexture2DArray::fill_image_info(void *ii) const
13 VkImageCreateInfo *image_info = static_cast<VkImageCreateInfo *>(ii);
14 image_info->imageType = VK_IMAGE_TYPE_2D;
15 image_info->extent.width = width;
16 image_info->extent.height = height;
17 image_info->arrayLayers = depth;