GetImageMemoryUsage

Description

Returns the amount of memory in megabytes currently being used by all loaded images (including images used by fonts). This can help track down problems with GPU memory which can cause a crash if it runs out. Every image you load will be placed in GPU memory, even if you don't use it, so loading too many large images could use up all the memory.

Definition

float GetImageMemoryUsage()