MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Save

Method Save

Source/Engine/Particles/ParticleEmitter.cpp:484–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484bool ParticleEmitter::Save(const StringView& path)
485{
486 if (OnCheckSave(path))
487 return true;
488 ScopeLock lock(Locker);
489 MemoryWriteStream writeStream;
490 if (Graph.Save(&writeStream, true))
491 return true;
492 BytesContainer data;
493 data.Link(ToSpan(writeStream));
494 return SaveSurface(data);
495}
496
497bool ParticleEmitter::HasShaderCode() const
498{

Callers 2

loadMethod · 0.45
LoadSurfaceMethod · 0.45

Calls 2

ToSpanFunction · 0.50
LinkMethod · 0.45

Tested by

no test coverage detected