|
Size: 864
Comment: update content (old wiki)
|
← Revision 3 as of 2013-08-08 18:17:07 ⇥
Size: 627
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| ||'''ms'''||the number of milliseconds to delay (32-bit)|| | ||'''ms'''||the number of milliseconds to delay|| |
| Line 24: | Line 23: |
| *<<BR>>This function waits a specified number of milliseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling. The delay granularity is at least 10 ms. Some platforms have shorter clock ticks but this is the most common.<<BR>>* | |
| Line 26: | Line 24: |
| == Related Functions == .[[SDL_AddTimer]] * |
This function waits a specified number of milliseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling. |
SDL_Delay
Use this function to wait a specified number of milliseconds before returning.
Syntax
void SDL_Delay(Uint32 ms)
Function Parameters
ms |
the number of milliseconds to delay |
Code Examples
You can add your code example here
Remarks
This function waits a specified number of milliseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling.
