Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ResourceSize.h |
Include |
#include "ProfilingDebugging/ResourceSize.h" |
struct FResourceSizeEx
Struct used to count up the amount of memory used by a resource. This is typically used for assets via UObject::GetResourceSizeEx.
Name | Description | |
---|---|---|
|
FResourceSizeEx() |
Default constructor. |
|
FResourceSizeEx ( |
Construct using a given mode. |
|
FResourceSizeEx ( |
Construct from legacy unknown size. Deliberately explicit to avoid accidental use. |
|
FResourceSizeEx ( |
Construct from known sizes. |
Name | Description | ||
---|---|---|---|
|
FResourceSiz... |
AddDedicatedSystemMemoryBytes |
|
|
FResourceSiz... |
AddDedicatedSystemMemoryBytes ( |
Add the given number of bytes to the dedicated system memory count. |
|
FResourceSiz... |
AddDedicatedVideoMemoryBytes |
|
|
FResourceSiz... |
AddDedicatedVideoMemoryBytes ( |
Add the given number of bytes to the dedicated video memory count. |
|
FResourceSiz... |
AddUnknownMemoryBytes |
|
|
FResourceSiz... |
AddUnknownMemoryBytes ( |
Add the given number of bytes to the unknown memory count. |
|
GetDedicatedSystemMemoryBytes() |
Get the number of bytes allocated from dedicated system memory. |
|
|
GetDedicatedVideoMemoryBytes() |
Get the number of bytes allocated from dedicated video memory. |
|
|
EResourceSiz... |
GetResourceSizeMode() |
Get the type of resource size held in this struct. |
|
GetTotalMemoryBytes() |
Get the total number of bytes allocated from any memory. |
|
|
GetUnknownMemoryBytes() |
Get the number of bytes allocated from unknown memory. |
|
|
LogSummary ( |
Name | Description | ||
---|---|---|---|
|
FResourceSiz... |
operator+= ( |
Add another FResourceSizeEx to this one. |