Open edrickhong opened 7 years ago
I think this should be possible if you want to see where objects are being bound into a memory allocation. If you mean a raw memory viewer that just takes a pointer/offset into some allocation and shows you bytes, I'm not so sure about that.
It might also tie into being able to see the lifetime of resources to understand where overlap/sharing is happening, or where updates happen relative to use (better than the current timeline bar does).
Currently I sub allocated devicememory allocations. I mainly want a way to visualize bound regions and maybe a way to highlight recently written regions? Being able to inspect their contents would be nice I guess but it's not a concern. I think it would be a nice feature to have now that we have to manage the memory ourselves.
Is it possible to implement a memory viewer for the new api's. Also showing overlapping regions for bound buffers and textures would be great. Thanks.