Lluvia
PortType.h File Reference

PortType enum. More...

Include dependency graph for PortType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ll
 
 ll::impl
 

Enumerations

enum class  ll::PortType : ll::enum_t { ll::Buffer = 0 , ll::ImageView = 1 , ll::SampledImageView = 2 , ll::UniformBuffer = 3 }
 Port types. More...
 

Functions

template<typename T = std::string>
ll::portTypeToString (ll::PortType &&value) noexcept
 Converts from ll::PortType enum value to string. More...
 
template<typename T = std::string>
ll::portTypeToString (const ll::PortType &value) noexcept
 
vk::DescriptorType ll::portTypeToVkDescriptorType (const ll::PortType &param)
 Converts from ll::PortType enum to Vulkan DescriptorType. More...
 
ll::PortType ll::vkDescriptorTypeToPortType (const vk::DescriptorType &vkDescType)
 Converts from Vulkan DescriptorType to ll::PortType enum. More...
 
template<typename T >
ll::PortType ll::stringToPortType (T &&stringValue)
 Converts from a string-like object to ll::PortType enum. More...
 

Variables

constexpr const std::array< std::tuple< const char *, ll::PortType >, 4 > ll::impl::PortTypeStrings
 Port type string values used for converting ll::PortType to std::string and vice-versa. More...
 

Detailed Description

PortType enum.