载入中...
搜索中...
未找到
eve::fluids::ocean_codec 命名空间参考

函数

void keys (const Value &value, std::initializer_list< const char * > names)
 
const Value & field (const Value &value, const char *name)
 Borrow a required child of value; throws on a missing field.
 
double number (const Value &value)
 
glm::dvec2 vector (const Value &value)
 
Value vector (glm::dvec2 value)
 
glm::dvec3 vector3 (const Value &value)
 
Value vector (glm::dvec3 value)
 

函数说明

◆ field()

const Value & eve::fluids::ocean_codec::field ( const Value &  value,
const char *  name 
)
inline

Borrow a required child of value; throws on a missing field.

参数
valueOwner of the returned child; must outlive its use and remain unmodified.
nameNon-null field name borrowed for this call only, never retained.
返回
Borrowed reference valid until value is moved, structurally modified or destroyed. @ownership The caller's value owns the result; no ownership transfer. @thread Const/reentrant, no callbacks or retained input pointers.

在文件 OceanCodecInternal.h 第 20 行定义.

引用了 name , 以及 value.

被这些函数引用 eve::fluids::MeshSdfField::bind(), eve::fluids::OceanSpectrumFrameBuilder::build(), eve::fluids::ShallowWaterField::create(), eve::fluids::decodeOceanWakeSettings(), eve::fluids::decodeVolumeFluid(), eve::fluids::meshSdfFromDistanceField() , 以及 eve::fluids::Fluids::newShallowWater().

◆ keys()

void eve::fluids::ocean_codec::keys ( const Value &  value,
std::initializer_list< const char * >  names 
)
inline

◆ number()

double eve::fluids::ocean_codec::number ( const Value &  value)
inline

在文件 OceanCodecInternal.h 第 25 行定义.

引用了 result , 以及 value.

◆ vector() [1/3]

glm::dvec2 eve::fluids::ocean_codec::vector ( const Value &  value)
inline

在文件 OceanCodecInternal.h 第 31 行定义.

引用了 number , 以及 value.

被这些函数引用 keys().

◆ vector() [2/3]

Value eve::fluids::ocean_codec::vector ( glm::dvec2  value)
inline

在文件 OceanCodecInternal.h 第 35 行定义.

引用了 value.

◆ vector() [3/3]

Value eve::fluids::ocean_codec::vector ( glm::dvec3  value)
inline

在文件 OceanCodecInternal.h 第 40 行定义.

引用了 value.

◆ vector3()

glm::dvec3 eve::fluids::ocean_codec::vector3 ( const Value &  value)
inline

在文件 OceanCodecInternal.h 第 36 行定义.

引用了 number , 以及 value.

被这些函数引用 eve::fluids::decodeOceanHullSettings().