Alpha Engine: AEFrameRateController.h Source File

AlphaEngine

AEFrameRateController.h
Go to the documentation of this file.
1 /******************************************************************************/
15 /******************************************************************************/
16 
17 #ifndef AE_FRAME_RATE_CONTROLLER_H
18 #define AE_FRAME_RATE_CONTROLLER_H
19 
20 // ---------------------------------------------------------------------------
21 // Externs
22 
23 // ---------------------------------------------------------------------------
24 // Function prototypes
25 // ---------------------------------------------------------------------------
26 
27 #ifdef __cplusplus
28 
29 extern "C"
30 {
31 #endif
32 
33 // ---------------------------------------------------------------------------
34 
35 // Frame management
36 
37 /******************************************************************************/
51 /******************************************************************************/
52 AE_API void AEFrameRateControllerInit (u32 FrameRateMax);
53 
54 /******************************************************************************/
65 /******************************************************************************/
67 
68 /******************************************************************************/
80 /******************************************************************************/
82 
83 /******************************************************************************/
95 /******************************************************************************/
97 
98 /******************************************************************************/
107 /******************************************************************************/
109 
110 /******************************************************************************/
119 /******************************************************************************/
121 
122 // ---------------------------------------------------------------------------
123 
124 #ifdef __cplusplus
125 }
126 #endif
127 
128 // ---------------------------------------------------------------------------
129 
130 #endif // AE_FRAME_RATE_CONTROLLER_H
131 
unsigned int u32
Definition: AETypes.h:28
void AEFrameRateControllerReset()
Reset the frame rate controller.
void AEFrameRateControllerStart()
Tell the frame rate controller that a new frame is starting.
void AEFrameRateControllerEnd()
Tell the frame rate controller that the current frame is ending.
u32 AEFrameRateControllerGetFrameCount()
Get the total number of frames elapsed.
void AEFrameRateControllerInit(u32 FrameRateMax)
Initialize the frame rate controller.
f64 AEFrameRateControllerGetFrameTime()
Get the time for the previous frame, in seconds.
#define AE_API
Definition: AEExport.h:53
double f64
Definition: AETypes.h:32
Generated on Sat Jan 4 2014 02:06:22 for Alpha Engine by   doxygen 1.8.5