DumpLightmapSizeOnDisk
DumpLightmapSizeOnDisk
#Overview
name: DumpLightmapSizeOnDisk
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Dumps the size of all loaded lightmaps on disk (source and platform data)
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/LightMap.cpp:177
Scope: file
Source code excerpt:
static FAutoConsoleCommand CmdDumpLightmapSizeOnDisk(
TEXT("DumpLightmapSizeOnDisk"),
TEXT("Dumps the size of all loaded lightmaps on disk (source and platform data)"),
FConsoleCommandDelegate::CreateStatic(DumpLightmapSizeOnDisk)
);
#endif // #if WITH_EDITOR
/** Lightmap resolution scaling factors for debugging. The defaults are to use the original resolution unchanged. */
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/LightMap.cpp:160
Scope (from outer to inner):
file
function static void DumpLightmapSizeOnDisk
Source code excerpt:
#if WITH_EDITOR
static void DumpLightmapSizeOnDisk()
{
UE_LOG(LogLightMap,Log,TEXT("Lightmap size on disk"));
UE_LOG(LogLightMap,Log,TEXT("Source (KB),Source is Compressed,Platform Data (KB),Lightmap"));
for (TObjectIterator<ULightMapTexture2D> It; It; ++It)
{
ULightMapTexture2D* Lightmap = *It;