Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/Runtime/Engine/Materials/UMaterial
- UObject::GetResourceSizeEx()
- UMaterial::GetResourceSizeEx()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
| Include | #include "Materials/Material.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
virtual void GetResourceSizeEx
&40;
FResourceSizeEx & CumulativeResourceSize
&41;
Remarks
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific).
Parameters
| Name | Description |
|---|---|
| CumulativeResourceSize | Struct used to count up the cumulative size of the resource as to be displayed to artists/LDs in the Editor. |