Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
0.8.4:viewport [2022/05/03 12:20] – external edit 127.0.0.1 | 0.8.4:viewport [2022/05/03 12:51] (current) – [Requesting FrameRate (FPS)] admin | ||
---|---|---|---|
Line 65: | Line 65: | ||
==== Requesting FrameRate (FPS) ==== | ==== Requesting FrameRate (FPS) ==== | ||
- | If UseFixedFrameRate is set to true, the FPS property returns the current frames per second. | + | * If //UseFixedFrameRate// is set to TRUE, the FPS property returns the current frames per second. |
- | If UseFixedFrameRate is set to false, the TGorillaViewport provides an estimated framerate value. | + | |
- | Simply setup a timer and request | + | Simply setup a timer and request |
<file pascal> | <file pascal> | ||
Line 78: | Line 78: | ||
=== Notice === | === Notice === | ||
+ | |||
+ | If // | ||
+ | |||
The estimated framerate measures the time a complete render cycle needs, including all objects, render passes and the main pass itself. | The estimated framerate measures the time a complete render cycle needs, including all objects, render passes and the main pass itself. | ||
- | Based on this value we compute the **possible frames per second** for the last interval. So Gorilla3D FPS value is only an orientation for you and the possible performance of your application. | + | Based on this value we compute the **possible frames per second** for the last interval. So it' |
Animation-Framerate (TAnimation): | Animation-Framerate (TAnimation): |