Lluvia
|
Object class and related enums. More...
#include "lluvia/core/enums/enums.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <tuple>
Go to the source code of this file.
Classes | |
class | ll::Object |
Base class for all types that can be used in computer shaders. More... | |
Namespaces | |
ll | |
ll::impl | |
Enumerations | |
enum class | ll::ObjectType : ll::enum_t { ll::Buffer = 0 , ll::Image = 1 , ll::ImageView = 2 } |
Object types. More... | |
Functions | |
template<typename T = std::string> | |
T | ll::objectTypeToString (ll::ObjectType &&value) noexcept |
Converts from ll::ObjectType enum value to std::string. More... | |
template<typename T > | |
ll::ObjectType | ll::stringToObjectType (T &&stringValue) |
Converts from a string-like object to ll::ObjectType enum. More... | |
Variables | |
constexpr const std::array< std::tuple< const char *, ll::ObjectType >, 3 > | ll::impl::ObjectTypeStrings |
Object type string values used for converting ll::ObjectType to std::string and vice-versa. More... | |
Object class and related enums.