8 #ifndef LLUVIA_CORE_IMAGE_IMAGE_LAYOUT_H_
9 #define LLUVIA_CORE_IMAGE_IMAGE_LAYOUT_H_
56 template <
typename T = std::
string>
constexpr const std::array< std::tuple< const char *, ll::ImageLayout >, 6 > ImageLayoutStrings
Definition: ImageLayout.h:38
constexpr vk::ImageLayout toVkImageLayout(const ll::ImageLayout &flags) noexcept
Definition: ImageLayout.h:32
E stringToEnum(T &&stringValue)
Definition: enums.h:172
std::string enumToString(E &&value) noexcept
Definition: enums.h:146
constexpr ll::ImageLayout fromVkImageLayout(const vk::ImageLayout &flags) noexcept
Definition: ImageLayout.h:27
ImageLayout
Definition: ImageLayout.h:16
uint32_t enum_t
Definition: enums.h:23
ll::ImageLayout stringToImageLayout(T &&stringValue)
Converts from a string-like object to ll::ImageLayout.
Definition: ImageLayout.h:78
T imageLayoutToString(ll::ImageLayout &&layout) noexcept
Converts from vk::ImageLayout enum value to string.
Definition: ImageLayout.h:57