SDL_VideoInfo in SDL2 / SDL3

In the old days, it was possible to retrieve a SDL_VideoInfo struct which contained information like total free video memory available. Is it possible to still findout this sort of information? I could not find links in the SDL2 docs or source code.

In a similar fashion, is it possible to findout how much memory a texture uses in the video memory?


The other thing I can’t seem to figure it out is if there is a way to check if the texture is really still there - specially some way that works in OpenGL ES2!