ULandscapeComponent::GetLightAndShadowMapMemoryUsage

Returns the light and shadow map memory for this primitive in its out variables.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual void GetLightAndShadowMapMemoryUsage
(
    int32 & LightMapMemoryUsage,
    int32 & ShadowMapMemoryUsage
) 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

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

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