Support => NGUI 3 Support => Topic started by: yuewah on April 08, 2015, 10:56:16 AM
Title: NGUI vs UGUI for VBO (Vertex Buffer Object)
Post by: yuewah on April 08, 2015, 10:56:16 AM
For updating VBO (Vertex Buffer Object), NGUI use BetterList, UGUI use ObjectPool<List<UIVertex>>, which one is better in term of performance ?
Title: Re: NGUI vs UGUI for VBO (Vertex Buffer Object)
Post by: ArenMook on April 09, 2015, 03:35:30 PM
No idea. I have no experience with ObjectPool.
Title: Re: NGUI vs UGUI for VBO (Vertex Buffer Object)
Post by: yuewah on April 11, 2015, 09:44:30 AM
Will NGUI's BetterList recycle VBO instead of allocate more ?
Title: Re: NGUI vs UGUI for VBO (Vertex Buffer Object)
Post by: ArenMook on April 12, 2015, 04:36:44 PM
UIDrawCall recycles buffers if possible.
Title: Re: NGUI vs UGUI for VBO (Vertex Buffer Object)
Post by: Nicki on April 18, 2015, 05:36:07 PM
Best thing to do is test it. Set up an elaborate test case with both tools, and measure with Stopwatch https://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch%28v=vs.110%29.aspx
var stopwatch =System.Diagnostics.Stopwatch.StartNew();