Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
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 |
virtual void GetTextureLightAndShadowMapMemoryUsage
&40;
int32 InWidth,
int32 InHeight,
int32 & OutLightMapMemoryUsage,
int32 & OutShadowMapMemoryUsage
&41; const
Remarks
Get the memory used for texture-based light and shadow maps of the given width and height
Parameters
| Name | 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 |