STATE_engine_get_last_render_execution_time

 

 


   Returns the execution time (in milliseconds) of the last call to STATE_engine_render().
   Through this number one can calculate the current fps (frames per second)
   t=STATE_engine_get_last_render_execution_time()
   if (t==0) return(0);   STATE_engine_render() wasnt called even once. protect against division by zero
   fps=1000/t;
   see also STATE_engine_get_average_render_execution_time()

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com