UStaticMeshComponent::GetTextureLightAndShadowMapMemoryUsage

Get the memory used for texture-based light and shadow maps of the given width and height

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/StaticMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp

Syntax

virtual void GetTextureLightAndShadowMapMemoryUsage
(
    int32 InWidth,
    int32 InHeight,
    int32 & OutLightMapMemoryUsage,
    int32 & OutShadowMapMemoryUsage
) const

Remarks

Get the memory used for texture-based light and shadow maps of the given width and height

Parameters

Parameter

Description

InWidth

The desired width of the light/shadow map

InHeight

The desired height of the light/shadow map

OutLightMapMemoryUsage

The resulting lightmap memory used

OutShadowMapMemoryUsage

The resulting shadowmap memory used

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