载入中...
搜索中...
未找到
eve::fluids_editing::VolumeFluidRuntimeApplier类 参考
Atomic bridge from a validated authoring document to a live solver. 更多...
#include <VolumeFluidTarget.h>
Public 成员函数 | |
| Result< void > | apply (const VolumeFluidTarget &target, fluids::VolumeFluid *simulation) const |
| Apply solver settings through the canonical snapshot restore transaction. | |
详细描述
Atomic bridge from a validated authoring document to a live solver.
在文件 VolumeFluidTarget.h 第 91 行定义.
成员函数说明
◆ apply()
| Result< void > eve::fluids_editing::VolumeFluidRuntimeApplier::apply | ( | const VolumeFluidTarget & | target, |
| fluids::VolumeFluid * | simulation | ||
| ) | const |
Apply solver settings through the canonical snapshot restore transaction.
- 参数
-
target Validated authoring document. simulation Borrowed live solver; required and not retained.
Explicit editor publication only. Copies live snapshot state and may reallocate solver storage, so callers must not invoke it from a per-frame preview or simulation loop.
在文件 VolumeFluidTarget.cpp 第 278 行定义.
引用了 eve::fluids::VolumeFluidSettings::capacity, d, eve::fluids::VolumeFluid::restore(), s, eve::fluids::VolumeFluidSnapshot::settings, eve::fluids::VolumeFluid::snapshot() , 以及 target.
该类的文档由以下文件生成:
- src/modules/fluids/editing/VolumeFluidTarget.h
- src/modules/fluids/editing/VolumeFluidTarget.cpp