| UPrimitiveComponent::GetLightAndShadowMapMemoryUsage()
|
Module |
|
Header |
/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
Include |
#include "LandscapeComponent.h" |
Source |
/Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp |
Returns the light and shadow map memory for this primitive in its out variables.
Shadow map memory usage is per light whereof lightmap data is independent of number of lights, assuming at least one.
Parameter |
Description |
---|---|
LightMapMemoryUsage |
Memory usage in bytes for light map (either texel or vertex) data |
ShadowMapMemoryUsage |
Memory usage in bytes for shadow map (either texel or vertex) data |