FLightingOptimizationStats

Windows
MacOS
Linux

Inheritance Hierarchy

FAnalyzeReferencedContentStat::FAssetStatsBase

FAnalyzeReferencedContentStat::FLightingOptimizationStats

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h

Include

#include "Commandlets/AnalyzeReferencedContentStat.h"

Syntax

struct FLightingOptimizationStats : public FAnalyzeReferencedContentStat::FAssetStatsBase

Variables

Name Description

Public variable

FString

 

ActorName

Name of the StaticMeshActor this optimization is for

Public variable

int32[NumLightm...

 

BytesSaved

Amount of memory savings for each lighting scheme (256,128,64,32 pixel lightmaps + vertex lighting)

Public variable

int32

 

CurrentBytesUsed

Amount of memory used by the current lighting scheme

Public variable

ELightMapIntera...

 

IsType

Current type of lighting scheme used

Public variable

FString

 

LevelName

Name of the Level this StaticMeshActor is on

Public variable

FString

 

SMName

Name of the StaticMesh belonging to the above StaticMeshActor

Public variable

int32

 

TextureSize

Texture size of the current lighting scheme, if texture, 0 otherwise

Constructors

Name Description

Public function

FLightingOptimizationStats

(
    AStaticMeshActor* StaticMeshAc...
)

Constructor, initializing all members

Functions

Name Description

Public function Static

void

 

CalculateLightingOptimizationInfo

(
    ELightMapInteractionType LMType,
    int32 NumVertices,
    int32 Width,
    int32 Height,
    int32 TexCoordIndex,
    FLightingOptimizationStats& LOStat...
)

For a given list of parameters, compute a full spread of potential savings values using vertex light, or 256, 128, 64, 32 pixel square light maps

Public function Static

int32

 

CalculateLightmapLightingBytesUsed

(
    int32 Width,
    int32 Height,
    int32 NumVertices,
    int32 UVChannelIndex
)

Assuming DXT1 lightmaps...

Public function Static

FString

 

GetCSVHeaderRow()

Returns a header row for CSV

Public function Const

bool

 

ShouldLogStat()

Public function Const

FString

 

ToCSV()

Stringifies gathered stats in CSV format.

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss