#include <imagedata.h>
| Public Member Functions | |
| ImageData ()=default | |
| ImageData (uint viewCount) | |
| VkImageView | getView () const | 
| VkImageView | getSubView (uint index) const | 
| uint | getSubViewCount () const | 
| VkImage | getImage () const | 
| VkImageLayout | getLayout () const | 
| void | release () | 
| Public Attributes | |
| VkImage | mImage = VK_NULL_HANDLE | 
| Vulkan Image.  More... | |
| VkImageView | mView = VK_NULL_HANDLE | 
| Vulkan Image view.  More... | |
| VmaAllocation | mAllocation = VK_NULL_HANDLE | 
| Vulkan single memory allocation.  More... | |
| VmaAllocationInfo | mAllocationInfo | 
| Vulkan memory allocation information.  More... | |
| VkImageLayout | mCurrentLayout = VK_IMAGE_LAYOUT_UNDEFINED | 
| Vulkan image layout.  More... | |
| std::vector< VkImageView > | mSubViews | 
| Vulkan Image views.  More... | |
Vulkan Image Data Structure. Binds image data, view and memory allocation information together for easy usage.
| 
 | default | 
| VkImage getImage | ( | ) | const | 
| VkImageLayout getLayout | ( | ) | const | 
| VkImageView getView | ( | ) | const | 
| void release | ( | ) | 
Releases the image and view, resetting all the handles to null. Does not delete it.
| VmaAllocation mAllocation = VK_NULL_HANDLE | 
Vulkan single memory allocation.
| VmaAllocationInfo mAllocationInfo | 
Vulkan memory allocation information.
| VkImageLayout mCurrentLayout = VK_IMAGE_LAYOUT_UNDEFINED | 
Vulkan image layout.
| VkImage mImage = VK_NULL_HANDLE | 
Vulkan Image.
| std::vector<VkImageView> mSubViews | 
Vulkan Image views.
| VkImageView mView = VK_NULL_HANDLE | 
Vulkan Image view.