We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b048988 commit 26c9841Copy full SHA for 26c9841
1 file changed
Graphics/GraphicsTools/interface/VertexPool.h
@@ -104,6 +104,16 @@ struct VertexPoolUsageStats
104
105
/// The number of allocations.
106
Uint32 AllocationCount = 0;
107
+
108
+ VertexPoolUsageStats& operator+=(const VertexPoolUsageStats& RHS)
109
+ {
110
+ TotalVertexCount += RHS.TotalVertexCount;
111
+ AllocatedVertexCount += RHS.AllocatedVertexCount;
112
+ CommittedMemorySize += RHS.CommittedMemorySize;
113
+ UsedMemorySize += RHS.UsedMemorySize;
114
+ AllocationCount += RHS.AllocationCount;
115
+ return *this;
116
+ }
117
};
118
119
0 commit comments