Add total mesh vertex stride display in editor panel

This commit is contained in:
Wojtek Figat
2025-01-20 23:51:35 +01:00
parent 65a689f8ab
commit 6a66a944d2

View File

@@ -271,6 +271,7 @@ namespace FlaxEditor.Windows.Assets
foreach (var e in slotElements)
group.Label($" {e.Type}, {e.Format} ({PixelFormatExtensions.SizeInBytes(e.Format)} bytes), offset {e.Offset}").Label.Height = height;
}
group.Label($"{vertexLayout.Stride} bytes per-vertex");
}
}
proxy.OnGeneral(layout);