Navigation
Unreal Engine C++ API Reference > Runtime > Landscape > ULandscapeComponent
- UPrimitiveComponent::GetLightAndShadowMapMemoryUsage()
- ULandscapeComponent::GetLightAndShadowMapMemoryUsage()
References
Module | Landscape |
Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
Include | #include "LandscapeComponent.h" |
Source | /Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp |
virtual void GetLightAndShadowMapMemoryUsage
&40;
int32 & LightMapMemoryUsage,
int32 & ShadowMapMemoryUsage
&41; const
Remarks
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.
Parameters
Name | 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 |