Detailing the OnRender event

You will notice that the OnRender method is always very small. Nothing much happens here as the main work is done internally with the fantomEngine. However, we want to measure how many frames per second are displayed during gameplay. With the SetUpdateRate method, you will set exactly that—the update rate. The render rate can, and most likely will, be smaller. Monkey will skip render frames when the projected update rate is in danger.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.253.152