Can't you use a D3DVERTEX struct somehow?