UObject::GetResourceSizeBytes

Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the simple version which just returns the total number of bytes used by this object.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Syntax

SIZE_T GetResourceSizeBytes
(
    EResourceSizeMode::Type Mode
)

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 simple version which just returns the total number of bytes used by this object.

Returns

The cumulative size of this object in memory

Parameters

Parameter

Description

Mode

Indicates which resource size should be returned.

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