Tao.Sdl SDK Documentation

Sdl.SDL_Delay Method 

Wait a specified number of milliseconds before returning.

[Visual Basic]
Public Shared Sub SDL_Delay( _
   ByVal ms As Integer _
)
[C#]
public static void SDL_Delay(
   int ms
);

Parameters

ms
The number of milliseconds to wait.

Remarks

SDL_Delay will wait at least the specified time, but possible longer due to OS scheduling. Count on a delay granularity of at least 10 ms. Some platforms have shorter clock ticks but this is the most common.

Binds to C-function call in SDL_timer.h:

extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms)

See Also

Sdl Class | Tao.Sdl Namespace | SDL_AddTimer