You can retrieve information about a vertex buffer by calling the IDirect3DVertexBuffer8::GetDesc method. This method fills the members of the D3DVERTEXBUFFER_DESC structure with information about the vertex buffer.