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

Method UnloadLightmaps

Source/Engine/Level/Scene/SceneLightmapsData.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void SceneLightmapsData::UnloadLightmaps()
63{
64 if (_lightmaps.HasItems())
65 {
66 LOG(Info, "Unloding {0} lightmap(s)", _lightmaps.Count());
67
68 _lightmaps.ClearDelete();
69 }
70}
71
72void SceneLightmapsData::SaveLightmaps(Array<SavedLightmapInfo>& lightmaps)
73{

Callers 1

OnDeleteObjectMethod · 0.80

Calls 3

HasItemsMethod · 0.45
CountMethod · 0.45
ClearDeleteMethod · 0.45

Tested by

no test coverage detected