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

Method Release

Source/Engine/ShadowsOfMordor/Builder.BuildCache.cpp:185–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void ShadowsOfMordor::Builder::SceneBuildCache::Release()
186{
187 EntriesLocker.Lock();
188
189 // Cleanup
190 Entries.Resize(0);
191 Lightmaps.Resize(0);
192 Charts.Resize(0);
193 Scene = nullptr;
194
195 EntriesLocker.Unlock();
196
197 SAFE_DELETE_GPU_RESOURCE(TempLightmapData);
198}
199
200#if COMPILE_WITH_ASSETS_IMPORTER
201

Callers 2

doWorkMethod · 0.45
UpdateLightmapsMethod · 0.45

Calls 3

LockMethod · 0.80
UnlockMethod · 0.80
ResizeMethod · 0.45

Tested by

no test coverage detected