Prova così:
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
EDIT: ipotizzando che tu stia definendo la variabile MeshData di tipo "union UMeshData".