Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTexture
Description
Gets the memory size of the texture, in bytes. This is the size in GPU memory of the built platformdata, accounting for LODBias, etc. Returns zero for error.
| Name | Blueprint_GetMemorySize |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
| Include Path | #include "Engine/Texture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
UFUNCTION (BlueprintCallable, Meta=(DisplayName="GetMemorySize"), Category="Rendering|Texture")
int64 Blueprint_GetMemorySize() const