Lluvia
Object.h File Reference

Object class and related enums. More...

#include "lluvia/core/enums/enums.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <tuple>
Include dependency graph for Object.h:
This graph shows which files directly or indirectly include this file:

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>
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...
 

Detailed Description

Object class and related enums.