3#include "Foundation/ComponentModel/Component.h"
7namespace Cogs::Core::EchoSounder
9 enum struct ComputeType : uint32_t
18 glm::uvec3 size = glm::uvec3(32, 32, 32);
19 glm::vec3 scale = glm::vec3(0.75f);
21 uint32_t max_tiles = 500000;
23 float decibelMin = -70.f;
24 float decibelMax = 0.f;
26 float average_alpha = 0.1f;
28 float filter_width = 11;
29 float filter_falloff = 0.3f;
31 ComputeType compute = ComputeType::AVX2;
33 bool show_frustum =
false;
35 static void registerType();
39template<>
inline Cogs::StringView getName<Cogs::Core::EchoSounder::ComputeType>() {
return "EchoComputeType"; }
42Cogs::StringView getName<Cogs::Core::EchoSounder::UniformGridComponent>() {
return "EchoUniformGridComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.