summaryrefslogtreecommitdiff
path: root/engine/xe_image.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-20 23:04:33 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-20 23:04:33 -0400
commitb6438c67792a268b2307b4d0ae7a5c278e7b6152 (patch)
tree02676efd34495cd3d3aafd92125f5007bb9dd0a5 /engine/xe_image.hpp
parenttexture loading (diff)
downloadminecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.tar.gz
minecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.tar.bz2
minecraftvulkan-b6438c67792a268b2307b4d0ae7a5c278e7b6152.zip
recreate descriptors
Diffstat (limited to 'engine/xe_image.hpp')
-rw-r--r--engine/xe_image.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/xe_image.hpp b/engine/xe_image.hpp
index c3ffe4f..7d514d9 100644
--- a/engine/xe_image.hpp
+++ b/engine/xe_image.hpp
@@ -22,10 +22,12 @@ class XeImage {
void createImage(uint32_t width, uint32_t height, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags properties, VkImage& image, VkDeviceMemory& imageMemory);
void transitionImageLayout(VkImage image, VkFormat format, VkImageLayout oldLayout, VkImageLayout newLayout);
void copyBufferToImage(VkBuffer buffer, VkImage image, uint32_t width, uint32_t height);
+ void createTextureImageView();
XeDevice &xeDevice;
VkImage textureImage;
+ VkImageView textureImageView;
VkDeviceMemory textureImageMemory;
friend class XeRenderSystem;