Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-27 20:24:50
Size: 864
Editor: SheenaSmith
Comment: update content (old wiki)
Revision 3 as of 2013-08-08 18:17:07
Size: 627
Editor: Sam Lantinga
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.


CategoryAPI, CategoryTimer

None: SDL_Delay (last edited 2013-08-08 18:17:07 by Sam Lantinga)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit