Implemented mesh compile func in DX11Context