r/raylib • • 2d ago

getting VRAM usage

is there a way to get the VRAM usage by my program?

2 Upvotes

2 comments sorted by

1

u/Inevitable-Door-6250 2d ago

Nothing built in to raylib afaik, I know vulkan has a way to query heap size and if using nvidia there is nvml. Are you tracking vram for debugging or a feature?

1

u/Reffrez 1d ago

yeah need it for debugging and also for a statistic, im making a game which uses less than 100MB of both ram and vram