Actually I won't need DirectX codes. I'm just writing a renderer, I will implement it using OpenGL, but I want it to become flexible. So I just want things to be correct, and won't be a problem when I decide to write a DirectX renderer.
My VertexBuffer class keeps the system pointers, and it seems that I can use them both in OpenGL and DirectX..
Thank you so much mhagain.