vulkan: add support for 2d array textures

This commit is contained in:
niki
2022-08-01 15:53:31 +02:00
parent 8cf7a79657
commit 224b9e84f0
5 changed files with 78 additions and 29 deletions
+5 -1
View File
@@ -41,8 +41,12 @@ public:
static VkColorComponentFlags getColorMask(ColorChannelMask);
static VkFrontFace getFrontFace(Winding);
static VkCullModeFlags getCullMode(CullMode);
static VkImageType getImageType(TextureType);
static VkImageViewType getImageViewType(TextureType);
static void cmdTransitionImageLayout(VkCommandBuffer, VkImage, VkImageLayout oldLayout, VkImageLayout newLayout);
static void cmdTransitionImageLayout(
VkCommandBuffer, VkImage, VkImageLayout oldLayout, VkImageLayout newLayout,
uint32_t baseLevel = 0, uint32_t levelCount = 1, uint32_t baseLayer = 0, uint32_t layerCount = 1);
};
} // vulkan
} // graphics