载入中...
搜索中...
未找到
ParticleRecording.cpp 文件参考

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::particles
 

函数

Result< void > eve::particles::prepareParticleRecording (ParticleEmitter &emitter, std::size_t budget)
 Prepare bounded CPU event capture before the first live birth. @ownership Journal belongs to the emitter Sim; no observer or source pointer is retained. @thread Simulation owner thread, outside any active step or sub-emitter callback. @cost Linear in event budget for reservation, once per recording.
 
void eve::particles::recordParticleEvent (const ParticleEmitter::Config &config, ParticleEmitter::Sim &sim, const Particle &particle, ParticleRecordEventKind kind)
 Internal simulation hook; captures at Sim recordingSeconds and records sticky failures. @ownership Borrows all arguments only during this call; journal stores owning values. @thread Simulation owner thread. No callbacks, resource lookups or allocations on successful capture.
 
Result< std::vector< ParticleRecordEvent > > eve::particles::finishParticleRecording (ParticleEmitter &emitter)
 Close all live births at the current explicit recording time and transfer owned events. @ownership Returned events survive emitter destruction; live simulation itself is not stopped or reset. @thread Simulation owner thread, outside any active step. @cost Linear in live births for final appearance evaluation; once per completed recording.