Original Post
I''ve read a lot about how to create an engine with support for multiple renderers but I just can''t grasp exactly how it is done? I mean, so far I''ve picked up that you need have api independed functions that call the specific function for opengl or directx etc.. but I what I don''t understand is how this is actually implemented. And then when people explain it to me it sounds as if they all read it from the same place and don''t actually understand how to implement it either lol
Is there someone who could right a few lines of sample code on how it might work? Also if possible, what kind of file structure should my engine have? I was thinking maybe a core.dll that calls opengl.dll or directx.dll to get the specific calls.. *shrugs* I''d rather get your guys'' input.
Thanks