载入中...
搜索中...
未找到
OceanSpectrumCodec.h 文件参考
#include "common/Export.h"
#include "common/Value.h"
#include "fluids/OceanSpectrum.h"

浏览源代码.

命名空间

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