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

Method unload

Source/Engine/Particles/ParticleEmitter.cpp:355–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void ParticleEmitter::unload(bool isReloading)
356{
357 ScopeWriteLock systemScope(Particles::SystemLocker);
358#if COMPILE_WITH_SHADER_COMPILER
359 UnregisterForShaderReloads(this);
360#endif
361
362 Particles::OnEmitterUnload(this);
363
364 Graph.Clear();
365#if COMPILE_WITH_GPU_PARTICLES
366 GPU.Dispose();
367#endif
368}
369
370AssetChunksFlag ParticleEmitter::getChunksToPreload() const
371{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
DisposeMethod · 0.45

Tested by

no test coverage detected