3#include "Resources/Resources.h"
5#include "Foundation/ComponentModel/Component.h"
11namespace Cogs::Core::EchoSounder
15 enum struct TextureDomain : int32_t
29 std::vector<float> thresholds;
30 float capSeparation = 1e-3f;
31 bool flipOrientation =
false;
32 bool innerLayerOpaque =
true;
33 float layerDepthBiasStep = 1.f;
34 float seabedClipOffset = 2.5f;
35 float overflowThreshold = std::numeric_limits<float>::quiet_NaN();
36 float minVerticalDepth = std::numeric_limits<float>::quiet_NaN();
37 float maxVerticalDepth = std::numeric_limits<float>::quiet_NaN();
39 TextureDomain uTextureDomain = TextureDomain::LayerNormalized;
40 glm::vec2 uTextureRange = { 0.f, 1.f };
42 TextureDomain vTextureDomain = TextureDomain::One;
43 glm::vec2 vTextureRange = { 0.f, 1.f };
47 static void registerType();
52Cogs::StringView getName<Cogs::Core::EchoSounder::SwathIsoComponent>() {
return "EchoSwathIsoComponent"; }
55Cogs::StringView getName<Cogs::Core::EchoSounder::SwathIsoComponent::TextureDomain>() {
return "EchoSwathIsoTexDomain"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
@ Zero
Disable all color writes.