Manages all images within the Vulkan space.
More...
Manages all images within the Vulkan space.
Definition at line 205 of file VulkanImage.h.
◆ VulkanImageManager()
Constructs an image manager for the given device.
- Parameters
-
| [in] | instance | The Vulkan device. |
◆ getImage()
Retrieves or loads a Vulkan image from a file path.
- Parameters
-
| [in] | file | The image file path. |
- Returns
- A const pointer to the image data.
◆ needsImageUpdate()
| bool VulkanImageManager::needsImageUpdate |
( |
Time | time | ) |
|
Checks whether any images need updating since the given time.
- Parameters
-
| [in] | time | The time to check against. |
- Returns
- True if updates are needed.
◆ updateImages()
| bool VulkanImageManager::updateImages |
( |
| ) |
|
Updates all managed images that have changed on disk.
- Returns
- True if any images were updated.
The documentation for this class was generated from the following file: