Prova così:
EDIT: ipotizzando che tu stia definendo la variabile MeshData di tipo "union UMeshData".Codice PHP:
union UMeshData
{
struct {
ID3D10Buffer *VertexBuffer;
ID3D10Buffer *IndexBuffer;
UINT Indici;
D3DXMATRIX Objmatr;
GeneralMaterial Mats;
unsigned int TextCount;
} ColladaBuffer;
struct {
ID3DX10Mesh *pMesh;
Material *Materials;
DWORD Mat;
} XBuffer;
} MeshData;