nick.ace Posted May 9, 2015 Posted May 9, 2015 I noticed that World:GetPolyCount() doesn't exist. I think it would be beneficial to have various counters as well to help debug performance drops: Just a few thoughts: Number of draw calls Number of surfaces (I guess the same as above or is that materials?) Poly count VRAM used by game Active/total physics bodies etc. 4 Quote
Ma-Shell Posted May 9, 2015 Posted May 9, 2015 Most of these values are printed, if you call self.context:DrawStats(10, 10, true) [LUA] context->DrawStats(10, 10, true) [C++] The third parameter ("extra") set to "true" instead of the default value "false" gives more output, which includes most of the values you mentioned. 1 Quote
nick.ace Posted May 9, 2015 Author Posted May 9, 2015 That works great, I hope it's documented soon! Of course, the more stats the better. However, what does total memory mean (and what is it measured in)? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.