Class Image¶
Defined in File image.hpp
Class Documentation¶
-
class Image¶
RAII wrapper class for VkImage.
Public Functions
-
Image(const Device &device, VkFormat format, VkImageUsageFlags image_usage, VkImageAspectFlags aspect_flags, VkSampleCountFlagBits sample_count, const std::string &name, VkExtent2D image_extent)¶
Default constructor.
- Parameters
device – The const reference to a device RAII wrapper instance.
format – The color format.
image_usage – The image usage flags.
aspect_flags – The aspect flags.
sample_count – The sample count.
name – The internal debug marker name of the VkImage.
image_extent – The width and height of the image.
-
~Image()¶
-
inline VkFormat image_format() const¶
-
inline VkImageView image_view() const¶
-
inline VkImage get() const¶
-
Image(const Device &device, VkFormat format, VkImageUsageFlags image_usage, VkImageAspectFlags aspect_flags, VkSampleCountFlagBits sample_count, const std::string &name, VkExtent2D image_extent)¶