Controls an apps render scheduling timing.  
 More...
#include <foray_renderloop.hpp>
Controls an apps render scheduling timing. 
◆ DisableFpsLimit()
  
  | 
        
          | void foray::base::AppFrameTiming::DisableFpsLimit | ( |  | ) |  |  | inline | 
 
 
◆ GetFramesPerSecond()
  
  | 
        
          | float foray::base::AppFrameTiming::GetFramesPerSecond | ( |  | ) | const |  | inline | 
 
Gets target frames per second. 
 
 
◆ GetSecondsPerFrame()
  
  | 
        
          | float foray::base::AppFrameTiming::GetSecondsPerFrame | ( |  | ) | const |  | inline | 
 
Gets target seconds per frame. 
 
 
◆ Set60Fps()
  
  | 
        
          | void foray::base::AppFrameTiming::Set60Fps | ( |  | ) |  |  | inline | 
 
Sets the target Fps to 60 (0.166667 seconds per frame) 
 
 
◆ SetFramesPerSecond()
  
  | 
        
          | void foray::base::AppFrameTiming::SetFramesPerSecond | ( | float | value | ) |  |  | inline | 
 
Set the target render calls per second. 
 
 
◆ SetSecondsPerFrame()
  
  | 
        
          | void foray::base::AppFrameTiming::SetSecondsPerFrame | ( | float | value | ) |  |  | inline | 
 
Set the target time per frame. 
 
 
◆ mSecondsPerFrame
  
  | 
        
          | fp32_t foray::base::AppFrameTiming::mSecondsPerFrame = 1.f / 60.f |  | protected | 
 
 
The documentation for this class was generated from the following file: