What is RHI resource memory?

I’m using memreport -full to check memory consumption and found category “RHI resource memory (not tracked by our allocator)”. What is it exactly, how to “read” it? :slight_smile:

Hi Vladamir, RHI resource memory is memory allocated for graphics resources such is vertexbuffers, indexbuffers, textures etc. Generally these will be allocated from video RAM (on systems which have dedicated VRAM).

This memory is untracked by our allocator because typically these allocations are handled by the graphics API internally.

Hopefully that helps!
Ben

1 Like

Thanks, Ben!

If I understood it right, it’s the real size of textures in RAM for mobile?

Yes, the RHI resource stats will include that information.