SDL people are working in creating some shader language in the form of SDL_gpu (not the old one), to launch in SDL3, so it could have some cross platform way to work with 3D graphics there for games. I have been looking at it closely for a little while.