|
Toast Engine
|
Owned next to the image it describes. More...
#include <gpu_sync.hpp>
Public Member Functions | |
| void | reset (vk::Image new_image, const vk::ImageSubresourceRange &new_range) |
| On every image creation since its contents start undefined. | |
| operator bool () const | |
Public Attributes | |
| vk::Image | image = VK_NULL_HANDLE |
| vk::ImageSubresourceRange | range {vk::ImageAspectFlagBits::eColor, 0, 1, 0, 1} |
| Usage | usage = Usage::none |
Owned next to the image it describes.