문제

I am currently writing a small graphical performance test benchmark for JavaFX.

Thus, I need to get the current FPS at which the JavaFX scene is being refreshed.

So far, I haven't found a solution how to accomplish this.

Does anyone know if there is some kind of event that I could use in order to get the FPS?

도움이 되었습니까?

해결책

I don't think there is a specific event that gives a frame rate. This reference/example might help. It shows the frame rate when running -- JavaFX FPS Meter . It has a link to source code.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top