3#include "Foundation/Geometry/Glm.hpp"
4#include "Foundation/Reflection/Name.h"
12 enum struct ImageType :
int
32 glm::vec3 sunDirection = glm::vec3(0, 0, 1);
33 glm::vec3 sunIrradiance = glm::vec3(1, 1, 1);
34 ImageType type = ImageType::None;
36 uint32_t height = 256;
41 hashValue =
Cogs::hash(sunDirection, hashValue);
42 hashValue =
Cogs::hash(sunIrradiance, hashValue);
55template<>
inline Cogs::StringView getName<Cogs::Core::ImageType>() {
return "ImageType"; }
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.
constexpr size_t hash() noexcept
Simple getter function that returns the initial value for fnv1a hashing.