I know it has been planned to reimplement SDL_Renderer on top of new shiny gpu-api. I'm wondering if its possible/desirable to take it a step further - add convenient api for replacing/modifying SDL_Renderer's default fragment shader.
As someone who don't feel like complexity brought by "modern gpu programming", this could be sweet spot I think.
API example:
int SDL_RenderSetFragmentShader(SDL_Renderer *renderer, ShaderID shader); // Use 0 to change back to default shader
I know it has been planned to reimplement SDL_Renderer on top of new shiny gpu-api. I'm wondering if its possible/desirable to take it a step further - add convenient api for replacing/modifying SDL_Renderer's default fragment shader.
As someone who don't feel like complexity brought by "modern gpu programming", this could be sweet spot I think.
API example: int SDL_RenderSetFragmentShader(SDL_Renderer *renderer, ShaderID shader); // Use 0 to change back to default shader