File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ struct HnRenderDelegateMemoryStats
106106 // / Vertex pool usage statistics.
107107 VertexPoolUsage VertexPool;
108108
109+ // / The total size of geometry data that is reserved for loading, in bytes.
110+ Uint64 ReservedGeometryDataSize = 0 ;
111+
109112 // / Texture atlas usage statistics.
110113 struct TextureAtlasUsage
111114 {
Original file line number Diff line number Diff line change @@ -915,6 +915,8 @@ HnRenderDelegateMemoryStats HnRenderDelegate::GetMemoryStats() const
915915 MemoryStats.VertexPool .AllocatedVertexCount = VertexUsage.AllocatedVertexCount ;
916916 MemoryStats.VertexPool .PendingDataSize = m_LastPendingVertexDataSize;
917917
918+ MemoryStats.ReservedGeometryDataSize = m_GeometryPool->GetReservedDataSize ();
919+
918920 MemoryStats.Atlas .CommittedSize = AtlasUsage.CommittedSize ;
919921 MemoryStats.Atlas .AllocationCount = AtlasUsage.AllocationCount ;
920922 MemoryStats.Atlas .TotalTexels = AtlasUsage.TotalArea ;
You can’t perform that action at this time.
0 commit comments