I am trying to have a class with its own SDL_Window and SDL_Renderer and all the data, which needs to be drawn on the screen. I want to spawn all the objects of that class rendered in a separate window of its own, and each object, when rendered, shall also have its own event loop too. Will this strategy work flawlessly? Does SDL2 allow such a thing?
Source: Windows Questions C++