I am looking for a way to get the amount of triangles drawn per frame in XNA.
+1
A:
http://forums.xna.com/forums/p/25179/139375.aspx
foreach (ModelMesh mesh in Model.Meshes)
{
foreach (ModelMeshPart part in mesh.MeshParts)
{
polyCount += part.PrimitiveCount;
}
}
You can also use something like PIX and PerfHUD
Dave
2010-10-04 20:49:25