[opengl][directx][engine] Unifies definitions for most of vertex data structures to be more structured, as in GLES