8 #ifndef LLUVIA_CORE_NODE_PORT_TYPE_H_
9 #define LLUVIA_CORE_NODE_PORT_TYPE_H_
35 constexpr
const std::array<std::tuple<const char*, ll::PortType>, 4>
PortTypeStrings {{
53 template <
typename T = std::
string>
59 template <
typename T = std::
string>
Objects to manage raw portions of allocated memory.
Definition: Buffer.h:57
Represents portions of a ll::Image to be sent as parameter to a GLSL shader.
Definition: ImageView.h:149
constexpr const std::array< std::tuple< const char *, ll::PortType >, 4 > PortTypeStrings
Port type string values used for converting ll::PortType to std::string and vice-versa.
Definition: PortType.h:35
E stringToEnum(T &&stringValue)
Definition: enums.h:172
std::string enumToString(E &&value) noexcept
Definition: enums.h:146
ll::PortType stringToPortType(T &&stringValue)
Converts from a string-like object to ll::PortType enum.
Definition: PortType.h:99
ll::PortType vkDescriptorTypeToPortType(const vk::DescriptorType &vkDescType)
Converts from Vulkan DescriptorType to ll::PortType enum.
PortType
Port types.
Definition: PortType.h:21
vk::DescriptorType portTypeToVkDescriptorType(const ll::PortType ¶m)
Converts from ll::PortType enum to Vulkan DescriptorType.
T portTypeToString(ll::PortType &&value) noexcept
Converts from ll::PortType enum value to string.
Definition: PortType.h:54
uint32_t enum_t
Definition: enums.h:23