summaryrefslogtreecommitdiff
path: root/engine/xe_image.hpp
diff options
context:
space:
mode:
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;