载入中...
搜索中...
未找到
#include "fluids/OceanSpectrumCodec.h"#include "fluids/OceanCodecInternal.h"#include <charconv>#include <cmath>#include <limits>#include <stdexcept>#include <string_view>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::fluids |
| GLSL compute kernels for the GPU surface-flow solver. | |
函数 | |
| Value | eve::fluids::encodeOceanSpectrumSettings (const OceanSpectrumSettings &settings) |
| Encode an owning eve.ocean.spectrum version-1 definition for scripts and persistence. The uint64 seed is canonical decimal text, preserving all bits through a script VM. @thread Const/reentrant, call-only input, no callbacks or retained references. | |
| Result< OceanSpectrumSettings > | eve::fluids::decodeOceanSpectrumSettings (const Value &value) |
| Decode a complete version-1 definition; reject unknown/missing fields and unsupported versions. No earlier format exists: migration is explicitly unsupported. Structural decoding is bounded to four bands; domain and spectral-energy validation remains in OceanSpectrumBuilder::build(). | |