Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTexture
Description
Gets the memory size of the texture source top mip, in bytes, and the size on disk of the asset, which may be compressed. Uses texture source, not available in runtime games. Does not cause texture source to be loaded, queries cached values. Returns zero for error.
| Name | Blueprint_GetTextureSourceDiskAndMemorySize |
| 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, BlueprintPure=false,
Meta=(DisplayName="GetTextureSourceDiskAndMemorySize"), Category="Rendering|Texture")
void Blueprint_GetTextureSourceDiskAndMemorySize
(
int64 & OutDiskSize,
int64 & OutMemorySize
) const