I'm creating a 3D graphics rendering engine that supports OpenGL and Direct3D.
My plan is to abstract my engine and make it more customizable. If the user set the config to Direct3d, my engine will load the dll for it. Same with the opengl.
How do I do that?
What I know right now is to create a library for my engine but I think it's different for my problem right now.