Create a small component that will be displayed in the bottom right corner of the screen and that will show the current FPS of the app. This will be useful to debug performance issues and to see how the app is performing in different scenarios.
it should only be displayed when the app is compiled in debug mode
Create a small component that will be displayed in the bottom right corner of the screen and that will show the current FPS of the app. This will be useful to debug performance issues and to see how the app is performing in different scenarios.
it should only be displayed when the app is compiled in debug mode
Extracted from:
https://github.com/lucas-labs/coco/blob/9d12938a40c07d644e328c34460e849307876fc3/coco/src/view/main_component.rs#L11-L16