pd3dImmediateContext->DrawIndexed( ( UINT )pSubset->IndexCount, 0, ( UINT )pSubset->VertexStart );
But there is no way to get IndexCount information from CDXUTFILEMESH. It frustrates me. Moreover, CDXUTSKDMESH is only used for tutorial, and some mesh files with other formats needed to convert to sdkmesh extension before using, but MeshConvert sometimes cannot convert from x extension to sdkmesh extension, because it just outputs an error: "Cannot load specific input file". That is why I want to know that is there anyway to load a mesh with x extension and use like the way we used in DX9 but using DX11 and SM5?
Anybody helps me, please? Thank in advanced.