Original Post
I have been working on a game engine (i kno wi know, who isn''t?) and I would like to contain all the rendering within a single subsystem as much as I can. Currently the only way to do rendering that I am particularly familiar with is adding a
virtual Render() method to the base GameEntity and then iterating through the list of entities and calling Render() on each one. This clearly is not the most efficient way of doing things, however I am not entirely sure of how to go about implementing a RenderSystem that will take care of all the rendering on its own and abstracting the API.
A lot of the articles that I''ve read just talk about making a rendering system but don''t go any firther into the implementation or the details of it so any tips, tricks or links would be much appreciated.
Thanks in advance.