UMaterialInstance::GetResourceSizeEx

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).

Windows
MacOS
Linux

Override Hierarchy

UObject::GetResourceSizeEx()

UMaterialInstance::GetResourceSizeEx()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h

Include

#include "Materials/MaterialInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstance.cpp

Syntax

virtual void GetResourceSizeEx
(
    FResourceSizeEx & CumulativeResourceSize
)

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

Parameter

Description

CumulativeResourceSize

Struct used to count up the cumulative size of the resource as to be displayed to artists/LDs in the Editor.

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