UModelComponent::GetLightAndShadowMapMemoryUsage

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetLightAndShadowMapMemoryUsage()

UModelComponent::GetLightAndShadowMapMemoryUsage()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ModelComponent.h

Include

#include "Components/ModelComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/ModelLight.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