RenderingInfo RENDERING_INFO_TEXTURE_MEM_USED = 3
Texture memory used (in bytes).
RenderingInfo RENDERING_INFO_BUFFER_MEM_USED = 4
Buffer memory used (in bytes). This includes vertex data, uniform buffers, and many miscellaneous buffer types used internally.
RenderingInfo RENDERING_INFO_VIDEO_MEM_USED = 5
Video memory used (in bytes). When using the Forward+ or mobile rendering backends, this is always greater than the sum of RENDERING_INFO_TEXTURE_MEM_USED and RENDERING_INFO_BUFFER_MEM_USED, since there is miscellaneous data not accounted for by those two metrics. When using the GL Compatibility backend, this is equal to the sum of RENDERING_INFO_TEXTURE_MEM_USED and RENDERING_INFO_BUFFER_MEM_USED.
One example for video memory that’s not also reported in texture or buffer memory seems to be things like baked voxelgi data.