What is a better abstraction layer for D3D9 and OpenGL vertex data management?
- by Sam Hocevar
My rendering code has always been OpenGL. I now need to support a platform that does not have OpenGL, so I have to add an abstraction layer that wraps OpenGL and Direct3D 9. I will support Direct3D 11 later.
TL;DR: the differences between OpenGL and Direct3D cause redundancy for the programmer, and the data layout feels flaky.
For now, my API…