Using the RHI Module:
#include "DynamicRHI.h"
FTextureMemoryStats TextureMemoryStats;
RHIGetTextureMemoryStats(TextureMemoryStats);
// TextureMemoryStats.AllocatedMemorySize;
// TextureMemoryStats.TotalGraphicsMemory;
Using the RHI Module:
#include "DynamicRHI.h"
FTextureMemoryStats TextureMemoryStats;
RHIGetTextureMemoryStats(TextureMemoryStats);
// TextureMemoryStats.AllocatedMemorySize;
// TextureMemoryStats.TotalGraphicsMemory;