Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Commandlets/AnalyzeReferencedContentStat.h |
Include |
#include "Commandlets/AnalyzeReferencedContentStat.h" |
static void CalculateLightingOptimizationInfo
(
ELightMapInteractionType LMType,
int32 NumVertices,
int32 Width,
int32 Height,
int32 TexCoordIndex,
FLightingOptimizationStats & LOStats
)
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
Parameter |
Description |
---|---|
LMType |
Current type of lighting being used |
NumVertices |
Number of vertices in the given mesh |
Width |
Width of current lightmap |
Height |
Height of current lightmap |
TexCoordIndex |
channel index of the uvs currently used for lightmaps |
LOI |
A struct to be filled in by the function with the potential savings |