![]() |
NDEVR
API Documentation
|
Manages a view within the Vulkan logic space. More...
Public Member Functions | |
| VulkanImageView (const ConstPointer< VulkanImageData > &data, uint04 aspectFlags, bool create=true) | |
| Constructs an image view for the given image data. | |
| VulkanImageView (VulkanImageView &&old) | |
| Move constructor. | |
| ~VulkanImageView () | |
| Destructor. | |
| void | cleanup () |
| Releases the Vulkan image view resources. | |
| void | create () |
| Creates or recreates the Vulkan image view. | |
| bool | needsUpdate () const |
| Checks whether the view needs to be recreated due to image changes. | |
| VkImageView | vkImageView () const |
| Returns the underlying Vulkan image view handle. | |
Manages a view within the Vulkan logic space.
See: https://vulkan-tutorial.com/Drawing_a_triangle/Presentation/Image_views
Definition at line 235 of file VulkanImage.h.
| VulkanImageView::VulkanImageView | ( | const ConstPointer< VulkanImageData > & | data, |
| uint04 | aspectFlags, | ||
| bool | create = true ) |
Constructs an image view for the given image data.
| [in] | data | The image data to create a view for. |
| [in] | aspectFlags | The Vulkan image aspect flags. |
| [in] | create | Whether to immediately create the view. |
References create().
Referenced by VulkanImageView().
| VulkanImageView::VulkanImageView | ( | VulkanImageView && | old | ) |
| bool VulkanImageView::needsUpdate | ( | ) | const |
Checks whether the view needs to be recreated due to image changes.
|
inline |
Returns the underlying Vulkan image view handle.
Definition at line 255 of file VulkanImage.h.