Toast Engine
Loading...
Searching...
No Matches
renderer::sync::ImageState Struct Reference

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

Detailed Description

Owned next to the image it describes.


The documentation for this struct was generated from the following file: